
  :root {
    --bg: #060a0f;
    --bg2: #0b1118;
    --surface: #0f1923;
    --surface2: #16232e;
    --accent: #00d4ff;
    --accent2: #00ff9d;
    --accent3: #7b5ea7;
    --text: #e8f4f8;
    --muted: #6b8899;
    --border: rgba(0,212,255,0.12);
    --glow: rgba(0,212,255,0.15);
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; font-size: 16px; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    cursor: none;
  }

  /* CUSTOM CURSOR */
  .cursor {
    position: fixed; top: 0; left: 0; z-index: 9999;
    pointer-events: none;
  }
  .cursor-dot {
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    transition: transform 0.1s, width 0.2s, height 0.2s;
    box-shadow: 0 0 10px var(--accent), 0 0 30px rgba(0,212,255,0.4);
  }
  .cursor-ring {
    width: 36px; height: 36px;
    border: 1.5px solid rgba(0,212,255,0.5);
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease, width 0.3s, height 0.3s, border-color 0.3s;
  }
  body.hovering .cursor-dot { width: 12px; height: 12px; background: var(--accent2); }
  body.hovering .cursor-ring { width: 50px; height: 50px; border-color: var(--accent2); }

  /* NOISE OVERLAY */
  body::before {
    content: '';
    position: fixed; inset: 0; z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.025;
    pointer-events: none;
  }

  /* ANIMATED GRID BACKGROUND */
  .grid-bg {
    position: fixed; inset: 0; z-index: 0;
    background-image:
      linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridShift 20s linear infinite;
    pointer-events: none;
  }
  @keyframes gridShift {
    0% { transform: translateY(0); }
    100% { transform: translateY(60px); }
  }

  /* FLOATING ORBS */
  .orb {
    position: fixed; border-radius: 50%;
    filter: blur(80px); pointer-events: none; z-index: 0;
    animation: orbFloat 15s ease-in-out infinite alternate;
  }
  .orb1 { width: 600px; height: 600px; background: rgba(0,212,255,0.04); top: -200px; right: -200px; animation-duration: 18s; }
  .orb2 { width: 500px; height: 500px; background: rgba(0,255,157,0.03); bottom: -100px; left: -100px; animation-duration: 22s; animation-delay: -5s; }
  .orb3 { width: 300px; height: 300px; background: rgba(123,94,167,0.05); top: 50%; left: 50%; animation-duration: 14s; animation-delay: -8s; }
  @keyframes orbFloat {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(30px, -30px) scale(1.1); }
  }

  /* NAV */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 1.2rem 4rem;
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(6,10,15,0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
  }
  nav.scrolled {
    padding: 0.9rem 4rem;
    background: rgba(6,10,15,0.9);
  }
  .nav-logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800; font-size: 1.4rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    text-decoration: none;
  }
  .nav-links { display: flex; gap: 2.5rem; list-style: none; }
  .nav-links a {
    color: var(--muted); text-decoration: none;
    font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
  }
  .nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 1px; background: var(--accent);
    transition: width 0.3s;
  }
  .nav-links a:hover { color: var(--accent); }
  .nav-links a:hover::after { width: 100%; }

  /* SECTIONS */
  section { position: relative; z-index: 1; }

  /* HERO */
  #hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 8rem 4rem 4rem;
    position: relative; overflow: hidden;
  }
  .hero-inner {
    text-align: center;
    max-width: 900px;
  }
  .hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    border: 1px solid var(--border);
    background: rgba(0,212,255,0.05);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease forwards;
    opacity: 0;
  }
  .hero-badge span { width: 6px; height: 6px; background: var(--accent2); border-radius: 50%; animation: pulse 2s ease infinite; }
  @keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.3); } }

  .hero-name {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(3.5rem, 8vw, 7rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.9s 0.1s ease forwards; opacity: 0;
  }
  .hero-name .line1 { display: block; color: var(--text); }
  .hero-name .line2 {
    display: block;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 60%, #7b5ea7 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  }

  .hero-tagline {
    font-size: 1.1rem; color: var(--muted); margin-bottom: 3rem;
    font-weight: 300; letter-spacing: 0.04em;
    animation: fadeInUp 0.9s 0.2s ease forwards; opacity: 0;
  }
  .hero-tagline em { color: var(--text); font-style: normal; }

  .hero-cta {
    display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
    animation: fadeInUp 0.9s 0.3s ease forwards; opacity: 0;
  }
  .btn-primary {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.85rem 2rem;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #060a0f; font-weight: 600; font-size: 0.9rem;
    border-radius: 100px; text-decoration: none;
    border: none; cursor: none;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 0 30px rgba(0,212,255,0.25);
    font-family: 'DM Sans', sans-serif;
  }
  .btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 0 50px rgba(0,212,255,0.4); }
  .btn-secondary {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.85rem 2rem;
    border: 1px solid var(--border);
    color: var(--text); font-weight: 500; font-size: 0.9rem;
    border-radius: 100px; text-decoration: none;
    background: rgba(255,255,255,0.03);
    transition: all 0.3s; cursor: none;
    font-family: 'DM Sans', sans-serif;
  }
  .btn-secondary:hover { border-color: var(--accent); color: var(--accent); background: rgba(0,212,255,0.05); transform: translateY(-3px); }

  .hero-stats {
    display: flex; gap: 3rem; justify-content: center; margin-top: 5rem;
    animation: fadeInUp 0.9s 0.4s ease forwards; opacity: 0;
  }
  .stat { text-align: center; }
  .stat-num {
    font-family: 'Syne', sans-serif; font-weight: 800;
    font-size: 2.2rem; line-height: 1;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  }
  .stat-label { font-size: 0.75rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 0.3rem; }

  .scroll-indicator {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    color: var(--muted); font-size: 0.75rem; letter-spacing: 0.1em;
    animation: fadeIn 1s 1s ease forwards; opacity: 0;
  }
  .scroll-line { width: 1px; height: 60px; background: linear-gradient(to bottom, var(--accent), transparent); animation: scrollLine 1.5s ease infinite; }
  @keyframes scrollLine { 0% { height: 0; opacity: 1; } 100% { height: 60px; opacity: 0; } }

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

  /* SECTION LAYOUT */
  .section-wrap { padding: 7rem 4rem; max-width: 1200px; margin: 0 auto; }
  .section-label {
    display: inline-block;
    font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 0.8rem; font-weight: 600;
  }
  .section-title {
    font-family: 'Syne', sans-serif; font-weight: 800;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.1; letter-spacing: -0.03em;
    margin-bottom: 1rem; color: var(--text);
  }
  .section-sub { color: var(--muted); font-size: 1rem; max-width: 500px; line-height: 1.7; margin-bottom: 3.5rem; }
  .divider { width: 60px; height: 2px; background: linear-gradient(to right, var(--accent), var(--accent2)); border-radius: 2px; margin-bottom: 1.5rem; }

  /* REVEAL ANIMATION */
  .reveal {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible { opacity: 1; transform: translateY(0); }

  /* ABOUT */
  #about { background: var(--bg2); }
  .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
  .about-photo-wrap { position: relative; }
  .about-photo-frame {
    position: relative; border-radius: 20px; overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--surface);
    border: 1px solid var(--border);
  }
  .about-photo-frame::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0,212,255,0.1), rgba(0,255,157,0.05));
    z-index: 1;
  }
  .about-photo-frame img {
    width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(20%) contrast(1.1);
  }
  .about-photo-glow {
    position: absolute;
    width: 200px; height: 200px;
    background: rgba(0,212,255,0.15);
    border-radius: 50%; filter: blur(60px);
    bottom: -50px; right: -50px; z-index: -1;
  }
  .about-text { }
  .about-text p { color: var(--muted); line-height: 1.8; margin-bottom: 1.2rem; font-size: 1rem; }
  .about-text p strong { color: var(--text); font-weight: 500; }
  .about-highlights { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
  .highlight-chip {
    padding: 0.4rem 1rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.8rem; color: var(--accent);
    background: rgba(0,212,255,0.05);
    transition: all 0.3s;
  }
  .highlight-chip:hover { background: rgba(0,212,255,0.1); border-color: var(--accent); }

  /* EDUCATION */
  #education { }
  .edu-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .edu-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px; padding: 2.5rem;
    position: relative; overflow: hidden;
    transition: all 0.4s;
  }
  .edu-card::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(to right, var(--accent), var(--accent2));
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.4s;
  }
  .edu-card:hover::before { transform: scaleX(1); }
  .edu-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px var(--glow); border-color: rgba(0,212,255,0.3); }
  .edu-icon { font-size: 1.5rem; margin-bottom: 1.2rem; }
  .edu-school { font-family: 'Syne', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; }
  .edu-degree { color: var(--accent); font-size: 0.9rem; margin-bottom: 0.4rem; }
  .edu-location { color: var(--muted); font-size: 0.85rem; margin-bottom: 0.3rem; }
  .edu-year { color: var(--muted); font-size: 0.8rem; }
  .edu-grade {
    margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--border);
    font-family: 'Syne', sans-serif; font-weight: 700;
    font-size: 1.4rem; color: var(--accent2);
  }
  .edu-grade span { color: var(--muted); font-size: 0.75rem; font-family: 'DM Sans', sans-serif; font-weight: 400; display: block; }

  /* EXPERIENCE */
  #experience { background: var(--bg2); }
  .exp-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px; padding: 3rem;
    position: relative; overflow: hidden;
    transition: all 0.4s;
  }
  .exp-card::after {
    content: ''; position: absolute;
    inset: 0; border-radius: 20px;
    background: linear-gradient(135deg, rgba(0,212,255,0.03), transparent);
    pointer-events: none;
  }
  .exp-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px var(--glow); }
  .exp-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; }
  .exp-company { font-family: 'Syne', sans-serif; font-size: 1.4rem; font-weight: 700; color: var(--text); }
  .exp-role { color: var(--accent); font-size: 1rem; margin-top: 0.3rem; }
  .exp-date {
    padding: 0.3rem 0.9rem;
    background: rgba(0,212,255,0.08);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.8rem; color: var(--accent);
    white-space: nowrap;
  }
  .exp-bullets { list-style: none; }
  .exp-bullets li {
    color: var(--muted); line-height: 1.7; padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    padding-left: 1.2rem; position: relative; font-size: 0.95rem;
  }
  .exp-bullets li::before { content: '▸'; position: absolute; left: 0; color: var(--accent2); font-size: 0.7rem; top: 0.75rem; }
  .exp-bullets li:last-child { border-bottom: none; }

  /* ACHIEVEMENTS */
  #achievements { }
  .achieve-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .achieve-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px; padding: 2rem;
    transition: all 0.4s; position: relative; overflow: hidden;
  }
  .achieve-card::before {
    content: ''; position: absolute;
    inset: 0; border-radius: 20px;
    background: radial-gradient(circle at top right, rgba(0,212,255,0.05), transparent 60%);
    pointer-events: none;
  }
  .achieve-card:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px var(--glow); border-color: rgba(0,212,255,0.3); }
  .achieve-icon { font-size: 2rem; margin-bottom: 1rem; }
  .achieve-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--text); margin-bottom: 0.6rem; }
  .achieve-desc { color: var(--muted); font-size: 0.88rem; line-height: 1.6; }
  .achieve-desc strong { color: var(--accent); }

  /* SKILLS */
  #skills { background: var(--bg2); }
  .skills-section { margin-bottom: 3.5rem; }
  .skills-section-title {
    font-family: 'Syne', sans-serif; font-weight: 700;
    font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 1.5rem;
    display: flex; align-items: center; gap: 1rem;
  }
  .skills-section-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }
  .skills-grid { display: flex; flex-wrap: wrap; gap: 0.75rem; }
  .skill-tag {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.85rem; color: var(--text);
    transition: all 0.3s; cursor: default;
    position: relative; overflow: hidden;
  }
  .skill-tag::before {
    content: ''; position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,212,255,0.08), rgba(0,255,157,0.05));
    opacity: 0; transition: opacity 0.3s;
  }
  .skill-tag:hover { border-color: rgba(0,212,255,0.4); transform: translateY(-3px) scale(1.03); box-shadow: 0 8px 25px rgba(0,0,0,0.3), 0 0 20px var(--glow); }
  .skill-tag:hover::before { opacity: 1; }
  .skill-tag i { color: var(--accent); font-size: 0.9rem; }
  .skill-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent2); flex-shrink: 0; }

  /* PROJECTS */
  #projects { }
  .projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .project-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px; padding: 2rem;
    transition: all 0.4s; position: relative; overflow: hidden;
    display: flex; flex-direction: column;
  }
  .project-card::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at top right, rgba(0,212,255,0.04), transparent 60%);
    pointer-events: none;
  }
  .project-card:hover { transform: translateY(-8px); box-shadow: 0 25px 70px rgba(0,0,0,0.5), 0 0 50px var(--glow); border-color: rgba(0,212,255,0.3); }
  .project-num {
    font-family: 'Syne', sans-serif; font-size: 3rem; font-weight: 800;
    color: rgba(0,212,255,0.08); line-height: 1; margin-bottom: 1rem;
    transition: color 0.3s;
  }
  .project-card:hover .project-num { color: rgba(0,212,255,0.15); }
  .project-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--text); margin-bottom: 0.8rem; }
  .project-desc { color: var(--muted); font-size: 0.88rem; line-height: 1.7; flex: 1; }
  .project-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.5rem; }
  .project-tag {
    padding: 0.2rem 0.7rem;
    background: rgba(0,212,255,0.06);
    border: 1px solid rgba(0,212,255,0.15);
    border-radius: 6px;
    font-size: 0.72rem; color: var(--accent); letter-spacing: 0.04em;
  }
  .project-link {
    display: inline-flex; align-items: center; gap: 0.4rem;
    margin-top: 1.5rem; color: var(--accent2);
    font-size: 0.85rem; text-decoration: none; font-weight: 500;
    transition: gap 0.3s;
  }
  .project-link:hover { gap: 0.7rem; }

  /* CODING PROFILES */
  #coding { background: var(--bg2); }
  .coding-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px; padding: 3rem;
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem;
    align-items: center;
  }
  .coding-stat {
    text-align: center; padding: 1.5rem;
    border-radius: 16px;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border);
    transition: all 0.3s;
  }
  .coding-stat:hover { border-color: rgba(0,212,255,0.3); background: rgba(0,212,255,0.05); transform: translateY(-4px); }
  .coding-stat-val {
    font-family: 'Syne', sans-serif; font-weight: 800;
    font-size: 2.5rem; color: var(--accent);
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  }
  .coding-stat-label { color: var(--muted); font-size: 0.8rem; margin-top: 0.4rem; letter-spacing: 0.06em; text-transform: uppercase; }
  .lc-breakdown { display: flex; gap: 0.5rem; margin-top: 0.8rem; justify-content: center; }
  .lc-easy { color: #00b8a9; font-size: 0.78rem; background: rgba(0,184,169,0.1); padding: 0.2rem 0.6rem; border-radius: 6px; }
  .lc-med { color: #ffa116; font-size: 0.78rem; background: rgba(255,161,22,0.1); padding: 0.2rem 0.6rem; border-radius: 6px; }
  .lc-hard { color: #ef4743; font-size: 0.78rem; background: rgba(239,71,67,0.1); padding: 0.2rem 0.6rem; border-radius: 6px; }

  /* CONNECT */
  #connect { }
  .connect-inner { text-align: center; max-width: 600px; margin: 0 auto; }
  .connect-inner .section-title { margin: 0 auto 1rem; }
  .connect-inner .section-sub { margin: 0 auto 3rem; text-align: center; }
  .social-links { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; }
  .social-btn {
    display: inline-flex; align-items: center; gap: 0.7rem;
    padding: 0.8rem 1.8rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--text); text-decoration: none;
    font-size: 0.9rem; font-weight: 500;
    transition: all 0.3s;
  }
  .social-btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.3), 0 0 20px var(--glow); }
  .social-btn i { font-size: 1.1rem; }
  .email-btn {
    display: inline-flex; align-items: center; gap: 0.7rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    border-radius: 100px;
    color: #060a0f; text-decoration: none;
    font-size: 1rem; font-weight: 700;
    margin-bottom: 2rem;
    transition: all 0.3s;
    box-shadow: 0 0 40px rgba(0,212,255,0.2);
    font-family: 'Syne', sans-serif;
  }
  .email-btn:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 0 60px rgba(0,212,255,0.35); }

  /* FOOTER */
  footer {
    text-align: center; padding: 2rem;
    border-top: 1px solid var(--border);
    color: var(--muted); font-size: 0.8rem;
    background: var(--bg);
    position: relative; z-index: 1;
  }

  /* TYPING EFFECT */
  .typed-cursor { color: var(--accent); animation: blink 1s step-end infinite; }
  @keyframes blink { 50% { opacity: 0; } }

  /* PROGRESS BARS */
  .progress-bar-wrap { margin-bottom: 0.8rem; }
  .progress-label { display: flex; justify-content: space-between; font-size: 0.8rem; margin-bottom: 0.4rem; color: var(--text); }
  .progress-track { height: 4px; background: var(--surface2); border-radius: 100px; overflow: hidden; }
  .progress-fill { height: 100%; background: linear-gradient(to right, var(--accent), var(--accent2)); border-radius: 100px; width: 0; transition: width 1.5s cubic-bezier(0.4,0,0.2,1); }

  /* MOBILE NAV TOGGLE */
  .nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: none; }
  .nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); transition: all 0.3s; border-radius: 2px; }

  /* PARTICLE CANVAS */
  #particle-canvas { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

  @media (max-width: 900px) {
    nav { padding: 1rem 1.5rem; }
    nav.scrolled { padding: 0.8rem 1.5rem; }
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .section-wrap { padding: 5rem 1.5rem; }
    #hero { padding: 7rem 1.5rem 4rem; }
    .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-photo-frame { max-width: 300px; margin: 0 auto; aspect-ratio: 1/1; }
    .edu-cards { grid-template-columns: 1fr; }
    .achieve-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .coding-card { grid-template-columns: 1fr; }
  }

  /* NAV MOBILE OPEN */
  .nav-mobile {
    position: fixed; inset: 0; z-index: 99;
    background: rgba(6,10,15,0.97);
    backdrop-filter: blur(20px);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s ease;
  }
  .nav-mobile.open { transform: translateX(0); }
  .nav-mobile a { font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 700; color: var(--text); text-decoration: none; transition: color 0.3s; }
  .nav-mobile a:hover { color: var(--accent); }
  .nav-mobile-close { position: absolute; top: 1.5rem; right: 1.5rem; font-size: 1.5rem; color: var(--muted); background: none; border: none; cursor: none; }

  /* GLITCH EFFECT on hero name */
  .glitch {
    position: relative;
    animation: glitch 5s infinite;
  }
  @keyframes glitch {
    0%, 90%, 100% { text-shadow: none; }
    91% { text-shadow: -2px 0 var(--accent), 2px 0 var(--accent2); }
    92% { text-shadow: 2px 0 var(--accent), -2px 0 rgba(123,94,167,0.8); }
    93% { text-shadow: none; }
    94% { text-shadow: -1px 0 var(--accent2); }
    95% { text-shadow: none; }
  }

  /* HORIZONTAL SCROLL MARQUEE for skills */
  .marquee-wrap { overflow: hidden; position: relative; margin-bottom: 1.5rem; }
  .marquee-track {
    display: flex; width: max-content;
    animation: marquee 30s linear infinite;
  }
  .marquee-wrap:hover .marquee-track { animation-play-state: paused; }
  @keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  .marquee-item {
    flex-shrink: 0;
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    margin-right: 0.75rem;
    font-size: 0.85rem; color: var(--text);
    background: var(--surface);
    white-space: nowrap;
  }

  /* COUNTER */
  .counter { display: inline-block; }

  /* ===== PREMIUM ANIMATIONS ===== */

  /* Magnetic button effect */
  .btn-primary, .btn-secondary {
    transition: transform 0.2s cubic-bezier(0.23,1,0.32,1), box-shadow 0.2s ease, background 0.3s ease;
  }
  .btn-primary:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 16px 48px rgba(0,212,255,0.35);
  }
  .btn-secondary:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 16px 48px rgba(0,255,157,0.2);
  }

  /* Glitch text effect on hero name */
  .hero-name .name-main {
    position: relative;
  }
  .hero-name .name-main::before,
  .hero-name .name-main::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: transparent;
  }
  .hero-name .name-main::before {
    color: var(--accent);
    clip-path: polygon(0 0,100% 0,100% 35%,0 35%);
    animation: glitch-top 4s infinite steps(1);
  }
  .hero-name .name-main::after {
    color: var(--accent2);
    clip-path: polygon(0 65%,100% 65%,100% 100%,0 100%);
    animation: glitch-bot 4s infinite steps(1);
  }
  @keyframes glitch-top {
    0%,90%,100% { transform: translate(0); opacity:0; }
    92% { transform: translate(-4px,0); opacity:0.7; }
    94% { transform: translate(4px,0); opacity:0.7; }
    96% { transform: translate(0); opacity:0; }
  }
  @keyframes glitch-bot {
    0%,90%,100% { transform: translate(0); opacity:0; }
    93% { transform: translate(4px,0); opacity:0.6; }
    95% { transform: translate(-4px,0); opacity:0.6; }
    97% { transform: translate(0); opacity:0; }
  }

  /* Animated border on cards */
  .edu-card, .exp-card, .achievement-card {
    position: relative;
    overflow: hidden;
  }
  .edu-card::before, .exp-card::before, .achievement-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: linear-gradient(135deg, transparent 0%, rgba(0,212,255,0) 40%, rgba(0,212,255,0.6) 50%, rgba(0,212,255,0) 60%, transparent 100%);
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: border-shimmer 3s linear infinite;
    opacity: 0;
    transition: opacity 0.4s;
  }
  .edu-card:hover::before, .exp-card:hover::before, .achievement-card:hover::before {
    opacity: 1;
  }
  @keyframes border-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
  }

  /* Tilt effect on project cards */
  .project-card {
    transition: transform 0.3s cubic-bezier(0.23,1,0.32,1), box-shadow 0.3s ease;
    transform-style: preserve-3d;
  }
  .project-card:hover {
    box-shadow: 0 24px 80px rgba(0,212,255,0.15), 0 0 0 1px rgba(0,212,255,0.15);
  }

  /* Floating animation on skill tags */
  .skill-tag {
    transition: transform 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  }
  .skill-tag:hover {
    transform: translateY(-4px) scale(1.08);
    color: var(--accent);
    box-shadow: 0 8px 24px rgba(0,212,255,0.2);
    background: rgba(0,212,255,0.08);
    border-color: rgba(0,212,255,0.4);
  }

  /* Scan line animation on about photo */
  .about-photo-frame {
    position: relative;
    overflow: hidden;
  }
  .about-photo-frame::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to bottom, transparent, rgba(0,212,255,0.06), transparent);
    animation: scanline 5s ease-in-out infinite;
    pointer-events: none;
  }
  @keyframes scanline {
    0% { top: -40%; }
    100% { top: 110%; }
  }

  /* Pulse glow on nav links */
  .nav-link {
    position: relative;
  }
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%; right: 50%;
    height: 1px;
    background: var(--accent);
    transition: left 0.3s ease, right 0.3s ease;
    box-shadow: 0 0 6px var(--accent);
  }
  .nav-link:hover::after {
    left: 0; right: 0;
  }

  /* Section heading shimmer */
  .section-tag {
    animation: tag-pulse 3s ease-in-out infinite;
  }
  @keyframes tag-pulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(0,212,255,0.4); }
    50% { box-shadow: 0 0 0 6px rgba(0,212,255,0); }
  }

  /* Stat counter glow pulse */
  .hero-stat-num {
    animation: stat-glow 3s ease-in-out infinite;
  }
  @keyframes stat-glow {
    0%,100% { text-shadow: 0 0 20px rgba(0,212,255,0.4); }
    50% { text-shadow: 0 0 40px rgba(0,212,255,0.8), 0 0 80px rgba(0,212,255,0.3); }
  }

  /* Typewriter cursor blink */
  .hero-tagline::after {
    content: '|';
    color: var(--accent);
    animation: blink 0.8s step-end infinite;
    margin-left: 2px;
  }
  @keyframes blink {
    0%,100% { opacity: 1; }
    50% { opacity: 0; }
  }

  /* Achievement card hover lift with color shift */
  .achievement-card {
    transition: transform 0.35s cubic-bezier(0.23,1,0.32,1), box-shadow 0.35s ease;
  }
  .achievement-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 32px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,212,255,0.2);
  }

  /* Reveal animation improvement */
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.23,1,0.32,1), transform 0.8s cubic-bezier(0.23,1,0.32,1);
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Stagger children of reveal */
  .reveal:nth-child(1) { transition-delay: 0s; }
  .reveal:nth-child(2) { transition-delay: 0.1s; }
  .reveal:nth-child(3) { transition-delay: 0.2s; }
  .reveal:nth-child(4) { transition-delay: 0.3s; }

  /* Logo text animated gradient */
  .nav-logo {
    background: linear-gradient(90deg, var(--accent), var(--accent2), var(--accent));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logo-shine 4s linear infinite;
  }
  @keyframes logo-shine {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
  }

  /* Floating orb extra pulse */
  @keyframes orbFloat {
    0%,100% { transform: translateY(0) scale(1); }
    33% { transform: translateY(-30px) scale(1.05); }
    66% { transform: translateY(15px) scale(0.97); }
  }

  /* Connect section link hover effect */
  .connect-link {
    transition: transform 0.3s cubic-bezier(0.23,1,0.32,1), color 0.3s, box-shadow 0.3s;
  }
  .connect-link:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 12px 32px rgba(0,212,255,0.2);
  }

  /* Gradient text for section headings */
  .section-title {
    background: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  /* Project card number animated */
  .project-num {
    transition: transform 0.3s ease, color 0.3s ease;
  }
  .project-card:hover .project-num {
    transform: scale(1.3) rotate(-5deg);
    color: var(--accent2);
  }

  /* Experience card entry animation */
  .exp-card {
    animation: slideInLeft 0.6s cubic-bezier(0.23,1,0.32,1) both;
  }
  @keyframes slideInLeft {
    from { opacity:0; transform: translateX(-30px); }
    to   { opacity:1; transform: translateX(0); }
  }

  /* Particle canvas fade in */
  #particles {
    animation: fadeIn 2s ease forwards;
  }
  @keyframes fadeIn {
    from { opacity:0; } to { opacity:1; }
  }

 .cert-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;

  margin-top: 14px;
  padding: 0.5rem 1.2rem;

  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;

  border-radius: 100px;
  text-decoration: none;

  color: var(--accent);
  background: rgba(0,212,255,0.06);

  border: 1px solid var(--border);

  transition: all 0.3s cubic-bezier(0.23,1,0.32,1);
  position: relative;
  overflow: hidden;
}
.cert-btn:hover {
  color: #060a0f;
  background: linear-gradient(135deg, var(--accent), var(--accent2));

  transform: translateY(-3px) scale(1.04);

  box-shadow:
    0 10px 30px rgba(0,212,255,0.25),
    0 0 25px rgba(0,212,255,0.35);
}
.cert-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.25),
    transparent
  );
  transition: 0.6s;
}

.cert-btn:hover::before {
  left: 120%;
}

/* ===== FLOATING LEETCODE BADGES ===== */

.floating-badges {
  position: fixed;
  right: 30px;
  bottom: 120px;
  z-index: 5;
  pointer-events: none;
}

.badge {
  position: absolute;
  width: 64px;
  height: 64px;

  pointer-events: auto;
  cursor: none;

  transition: all 0.35s cubic-bezier(0.23,1,0.32,1);
}

.badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(0,212,255,0.25));
}

/* Positions */
.badge:nth-child(1) { right: 0; bottom: 0; }
.badge:nth-child(2) { right: 70px; bottom: 40px; }
.badge:nth-child(3) { right: 20px; bottom: 95px; }
.badge:nth-child(4) { right: 95px; bottom: 110px; }

/* ===== ACHIEVEMENT DOCK ===== */

.achievement-dock {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);

  display: flex;
  flex-direction: column;
  gap: 14px;

  padding: 12px;

  background: rgba(15,25,35,0.6);
  backdrop-filter: blur(14px);

  border: 1px solid var(--border);
  border-radius: 18px;

  box-shadow:
    0 10px 40px rgba(0,0,0,0.5),
    0 0 30px rgba(0,212,255,0.08);

  z-index: 10;
}

/* badges */
.dock-badge img {
  width: 52px;
  transition: all 0.35s cubic-bezier(0.23,1,0.32,1);
  filter: grayscale(20%) brightness(0.9);
}

/* hover interaction */
.dock-badge:hover img {
  transform: scale(1.25);
  filter:
    brightness(1.2)
    drop-shadow(0 0 18px var(--accent))
    drop-shadow(0 0 30px var(--accent2));
}

#experience .exp-card + .exp-card {
  margin-top: 2rem;
}

