  :root {
    --space-black: #02020a;
    --deep-space: #050510;
    --nebula-purple: #6b21e8;
    --nebula-blue: #1e40af;
    --star-white: #f0f4ff;
    --cosmic-cyan: #22d3ee;
    --pulsar-pink: #f472b6;
    --solar-gold: #fbbf24;
    --mars-red: #ef4444;
    --planet-teal: #14b8a6;
    --dim-text: #94a3b8;
    --card-bg: rgba(15, 20, 50, 0.7);
    --card-border: rgba(34, 211, 238, 0.2);
  }

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

  html { scroll-behavior: smooth; }

  body {
    background: var(--space-black);
    color: var(--star-white);
    font-family: 'Exo 2', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
    cursor: none;
  }

  /* ──── CUSTOM CURSOR ──── */
  #cursor {
    position: fixed; top: 0; left: 0;
    width: 12px; height: 12px;
    background: var(--cosmic-cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    mix-blend-mode: screen;
    box-shadow: 0 0 12px var(--cosmic-cyan), 0 0 30px rgba(34,211,238,0.4);
  }
  #cursor-ring {
    position: fixed; top: 0; left: 0;
    width: 36px; height: 36px;
    border: 1.5px solid rgba(34,211,238,0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.18s ease, width 0.2s, height 0.2s, border-color 0.2s;
  }
  body:has(a:hover) #cursor-ring,
  body:has(button:hover) #cursor-ring {
    width: 54px; height: 54px;
    border-color: var(--pulsar-pink);
  }

  /* ──── CANVAS STARFIELD ──── */
  #starfield {
    position: fixed; inset: 0;
    z-index: 0;
    pointer-events: none;
  }

  /* ──── FLOATING PLANETS ──── */
  .planet {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
  }
  .planet-1 {
    width: 220px; height: 220px;
    background: radial-gradient(circle at 35% 35%, #7c3aed, #1e1b4b 60%, #0c0a1e);
    top: -60px; right: -60px;
    box-shadow: inset -20px -20px 40px rgba(0,0,0,0.8), 0 0 60px rgba(124,58,237,0.3);
    animation: float-planet 18s ease-in-out infinite;
  }
  .planet-1::after {
    content: '';
    position: absolute;
    width: 280px; height: 40px;
    border: 12px solid rgba(124,58,237,0.25);
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%) rotateX(75deg);
  }
  .planet-2 {
    width: 120px; height: 120px;
    background: radial-gradient(circle at 40% 30%, #f59e0b, #b45309 50%, #451a03);
    bottom: 15%; left: -30px;
    box-shadow: inset -10px -10px 25px rgba(0,0,0,0.7), 0 0 40px rgba(245,158,11,0.25);
    animation: float-planet 22s ease-in-out infinite reverse;
  }
  .planet-3 {
    width: 70px; height: 70px;
    background: radial-gradient(circle at 35% 35%, #22d3ee, #0e7490 60%, #083344);
    top: 45%; right: 3%;
    box-shadow: inset -6px -6px 15px rgba(0,0,0,0.7), 0 0 25px rgba(34,211,238,0.3);
    animation: float-planet 14s ease-in-out infinite 3s;
  }
  @keyframes float-planet {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-18px) rotate(2deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
  }

  /* ──── SHOOTING STARS (canvas-based) ──── */

  /* ──── NAV ──── */
  nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 18px 48px;
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(2,2,10,0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(34,211,238,0.12);
  }
  .nav-logo {
    font-family: 'Orbitron', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--cosmic-cyan);
    text-decoration: none;
  }
  .nav-logo span { color: var(--pulsar-pink); }
  .nav-links { display: flex; gap: 36px; list-style: none; }
  .nav-links a {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    color: var(--dim-text);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.25s;
    position: relative;
  }
  .nav-links a::after {
    content: '';
    position: absolute; bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--cosmic-cyan);
    transition: width 0.3s;
  }
  .nav-links a:hover { color: var(--cosmic-cyan); }
  .nav-links a:hover::after { width: 100%; }

  /* ──── HERO ──── */
  #hero {
    position: relative;
    min-height: 100vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    z-index: 10;
    padding: 100px 24px 60px;
  }
  .astronaut-container {
    width: 130px; height: 130px;
    margin-bottom: 32px;
    position: relative;
    animation: astronaut-float 6s ease-in-out infinite;
  }
  @keyframes astronaut-float {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
  }
  .astronaut-svg { width: 100%; height: 100%; }
  .hero-greeting {
    font-family: 'Exo 2', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 300;
    color: var(--dim-text);
    letter-spacing: 0.12em;
    margin-bottom: 14px;
    opacity: 0;
    animation: fade-up 0.8s 0.65s forwards;
  }
  .hero-greeting span { color: var(--pulsar-pink); font-weight: 500; }
  .btn-resume {
    background: transparent;
    color: var(--solar-gold);
    border: 1px solid var(--solar-gold);
    font-family: 'Orbitron', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 3px;
    text-decoration: none;
    cursor: none;
    transition: all 0.3s;
  }
  .btn-resume:hover {
    background: rgba(251,191,36,0.1);
    box-shadow: 0 0 30px rgba(251,191,36,0.3);
    transform: translateY(-2px);
  }
  .hero-badge {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.35em;
    color: var(--cosmic-cyan);
    text-transform: uppercase;
    margin-bottom: 16px;
    opacity: 0;
    animation: fade-up 0.8s 0.3s forwards;
  }
  .hero-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2.4rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0.04em;
    background: linear-gradient(135deg, #f0f4ff 0%, var(--cosmic-cyan) 40%, var(--pulsar-pink) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    opacity: 0;
    animation: fade-up 0.8s 0.5s forwards;
  }
  .hero-subtitle {
    font-family: 'Orbitron', monospace;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    font-weight: 400;
    color: var(--solar-gold);
    letter-spacing: 0.2em;
    margin-bottom: 28px;
    opacity: 0;
    animation: fade-up 0.8s 0.85s forwards;
  }
  .hero-desc {
    max-width: 600px;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--dim-text);
    margin-bottom: 48px;
    opacity: 0;
    animation: fade-up 0.8s 0.9s forwards;
  }
  .hero-ctas {
    display: flex; gap: 20px; flex-wrap: wrap; justify-content: center;
    opacity: 0;
    animation: fade-up 0.8s 1.1s forwards;
  }
  .btn {
    font-family: 'Orbitron', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 3px;
    text-decoration: none;
    cursor: none;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
  }
  .btn-primary {
    background: linear-gradient(135deg, var(--nebula-purple), var(--nebula-blue));
    color: #fff;
    border: 1px solid rgba(107,33,232,0.5);
    box-shadow: 0 0 30px rgba(107,33,232,0.4);
  }
  .btn-primary:hover {
    box-shadow: 0 0 50px rgba(107,33,232,0.7), 0 0 80px rgba(34,211,238,0.2);
    transform: translateY(-2px);
  }
  .btn-outline {
    background: transparent;
    color: var(--cosmic-cyan);
    border: 1px solid var(--cosmic-cyan);
  }
  .btn-outline:hover {
    background: rgba(34,211,238,0.1);
    box-shadow: 0 0 30px rgba(34,211,238,0.3);
    transform: translateY(-2px);
  }
  .scroll-indicator {
    position: absolute;
    bottom: 32px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    opacity: 0;
    animation: fade-in 1s 2s forwards;
    white-space: nowrap;
    z-index: 5;
    pointer-events: none;
  }
  .scroll-indicator span {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--dim-text);
  }
  .scroll-line {
    width: 1px; height: 50px;
    background: linear-gradient(to bottom, var(--cosmic-cyan), transparent);
    animation: pulse-line 2s ease-in-out infinite;
  }
  @keyframes pulse-line {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
  }
  @keyframes fade-up {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes fade-in {
    to { opacity: 1; }
  }

  /* ──── SECTIONS ──── */
  section {
    position: relative; z-index: 10;
    padding: 100px 24px;
    max-width: 1100px;
    margin: 0 auto;
  }
  .section-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.4em;
    color: var(--cosmic-cyan);
    text-transform: uppercase;
    margin-bottom: 12px;
    display: flex; align-items: center; gap: 16px;
  }
  .section-label::before {
    content: '';
    display: inline-block;
    width: 40px; height: 1px;
    background: var(--cosmic-cyan);
  }
  .section-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 56px;
    color: var(--star-white);
  }
  .section-title span { color: var(--cosmic-cyan); }

  /* ──── ABOUT / TABS ──── */
  #about { max-width: 1100px; }
  .tab-controls {
    display: flex; gap: 0; margin-bottom: 40px;
    border: 1px solid var(--card-border);
    border-radius: 4px;
    overflow: hidden;
    width: fit-content;
  }
  .tab-btn {
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 12px 28px;
    background: transparent;
    color: var(--dim-text);
    border: none;
    cursor: none;
    transition: all 0.3s;
    position: relative;
  }
  .tab-btn.active {
    background: linear-gradient(135deg, rgba(107,33,232,0.4), rgba(30,64,175,0.4));
    color: var(--cosmic-cyan);
  }
  .tab-btn:hover:not(.active) { background: rgba(34,211,238,0.05); color: var(--star-white); }
  .tab-panel { display: none; }
  .tab-panel.active { display: block; animation: fade-up 0.4s ease; }

  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
  }
  .about-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: #c8d4e8;
    margin-bottom: 20px;
  }
  .about-text strong { color: var(--cosmic-cyan); font-weight: 500; }

  /* ──── SKILLS ──── */
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
  }
  .skill-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 6px;
    padding: 20px;
    transition: all 0.3s;
    backdrop-filter: blur(8px);
  }
  .skill-card:hover {
    border-color: var(--cosmic-cyan);
    box-shadow: 0 0 25px rgba(34,211,238,0.15);
    transform: translateY(-4px);
  }
  .skill-cat {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    color: var(--pulsar-pink);
    text-transform: uppercase;
    margin-bottom: 10px;
  }
  .skill-name {
    font-size: 0.9rem;
    color: var(--star-white);
    line-height: 1.6;
  }
  .skill-icon {
    font-size: 1.6rem;
    margin-bottom: 10px;
    display: block;
  }

  /* ──── PROJECTS ──── */
  .projects-tabs { margin-bottom: 48px; }
  .project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
  }
  .project-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 28px;
    transition: all 0.35s;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
  }
  .project-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--nebula-purple), var(--cosmic-cyan));
    opacity: 0;
    transition: opacity 0.3s;
  }
  .project-card:hover {
    border-color: rgba(34,211,238,0.4);
    box-shadow: 0 8px 40px rgba(34,211,238,0.12);
    transform: translateY(-6px);
  }
  .project-card:hover::before { opacity: 1; }
  .project-type {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 2px;
    margin-bottom: 16px;
    display: inline-block;
  }
  .type-mobile { background: rgba(244,114,182,0.15); color: var(--pulsar-pink); border: 1px solid rgba(244,114,182,0.3); }
  .type-web { background: rgba(34,211,238,0.1); color: var(--cosmic-cyan); border: 1px solid rgba(34,211,238,0.3); }
  .project-name {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    font-weight: 700;
    color: var(--star-white);
    margin-bottom: 6px;
  }
  .project-date {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.65rem;
    color: var(--dim-text);
    margin-bottom: 14px;
  }
  .project-desc {
    font-size: 0.88rem;
    line-height: 1.7;
    color: #94a3b8;
    margin-bottom: 20px;
  }
  .project-tech {
    display: flex; flex-wrap: wrap; gap: 6px;
  }
  .tech-tag {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    padding: 3px 9px;
    background: rgba(107,33,232,0.2);
    border: 1px solid rgba(107,33,232,0.35);
    border-radius: 2px;
    color: #c4b5fd;
  }

  /* ──── EXPERIENCE ──── */
  .exp-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-left: 3px solid var(--cosmic-cyan);
    border-radius: 0 8px 8px 0;
    padding: 28px 32px;
    backdrop-filter: blur(8px);
    transition: all 0.3s;
    margin-bottom: 24px;
  }
  .exp-card:hover {
    border-left-color: var(--pulsar-pink);
    box-shadow: 0 4px 30px rgba(34,211,238,0.1);
    transform: translateX(6px);
  }
  .exp-header { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 12px; margin-bottom: 6px; }
  .exp-role {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    font-weight: 700;
    color: var(--star-white);
  }
  .exp-period {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.65rem;
    color: var(--solar-gold);
    white-space: nowrap;
  }
  .exp-company {
    font-size: 0.88rem;
    color: var(--cosmic-cyan);
    margin-bottom: 4px;
    font-weight: 500;
  }
  .exp-link {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.65rem;
    color: var(--dim-text);
    text-decoration: none;
    transition: color 0.2s;
    display: inline-block;
    margin-bottom: 16px;
  }
  .exp-link:hover { color: var(--cosmic-cyan); }
  .exp-stack {
    font-size: 0.8rem;
    color: var(--solar-gold);
    margin-bottom: 14px;
    font-weight: 500;
  }
  .exp-list {
    list-style: none;
    display: flex; flex-direction: column; gap: 8px;
  }
  .exp-list li {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.65;
    padding-left: 18px;
    position: relative;
  }
  .exp-list li::before {
    content: '▸';
    position: absolute; left: 0;
    color: var(--cosmic-cyan);
    font-size: 0.7rem;
    top: 3px;
  }

  /* ──── EDUCATION ──── */
  .edu-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 32px;
    backdrop-filter: blur(8px);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    margin-bottom: 24px;
    transition: all 0.3s;
  }
  .edu-card:hover {
    border-color: rgba(34,211,238,0.4);
    box-shadow: 0 4px 30px rgba(34,211,238,0.1);
  }
  .edu-degree {
    font-family: 'Orbitron', monospace;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--star-white);
    margin-bottom: 4px;
  }
  .edu-school {
    font-size: 0.9rem;
    color: var(--cosmic-cyan);
    margin-bottom: 12px;
    font-weight: 500;
  }
  .edu-period {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.65rem;
    color: var(--solar-gold);
  }
  .edu-honors {
    display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px;
  }
  .honor-badge {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    background: rgba(251,191,36,0.1);
    border: 1px solid rgba(251,191,36,0.3);
    border-radius: 2px;
    color: var(--solar-gold);
  }
  .coursework-grid {
    display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px;
  }
  .course-tag {
    font-size: 0.78rem;
    padding: 5px 12px;
    background: rgba(107,33,232,0.15);
    border: 1px solid rgba(107,33,232,0.3);
    border-radius: 2px;
    color: #c4b5fd;
  }

  /* ──── CERTIFICATIONS ──── */
  .cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
  }
  .cert-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 6px;
    padding: 20px 22px;
    backdrop-filter: blur(8px);
    transition: all 0.3s;
    display: flex; align-items: center; gap: 16px;
  }
  .cert-card:hover {
    border-color: rgba(34,211,238,0.4);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(34,211,238,0.1);
  }
  .cert-badge {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: rgba(15,20,50,0.9);
    border: 1px solid var(--card-border);
  }
  .cert-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }
  .cert-badge-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: rgba(34,211,238,0.04);
    border: 1px dashed rgba(34,211,238,0.25);
    border-radius: 8px;
    color: rgba(34,211,238,0.4);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.38rem;
    letter-spacing: 0.08em;
    text-align: center;
    padding: 4px;
    cursor: default;
  }
  .cert-name {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--star-white);
    line-height: 1.4;
    margin-bottom: 4px;
  }
  .cert-issuer {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.6rem;
    color: var(--dim-text);
    letter-spacing: 0.05em;
  }

  /* ──── ABOUT PHOTO + IDENTITY ──── */
  .about-photo-block {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    margin-bottom: 28px;
    flex-wrap: wrap;
  }
  .about-photo-wrap {
    position: relative;
    flex-shrink: 0;
    width: 160px;
    height: 160px;
  }
  .about-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 2;
    background: #0d1117;
    border: 2px solid var(--cosmic-cyan);
  }
  .about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Portrait was centered on torso; anchor to top so the head stays in the circle */
    object-position: center top;
    display: block;
    border-radius: 50%;
  }
  .photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(34,211,238,0.05);
    color: var(--dim-text);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.52rem;
    letter-spacing: 0.1em;
    text-align: center;
    padding: 12px;
    border: 1.5px dashed rgba(34,211,238,0.3);
    border-radius: 50%;
  }
  .photo-placeholder svg { opacity: 0.5; }
  .photo-placeholder span { display: block; line-height: 1.4; }
  .about-photo-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1.5px dashed rgba(34,211,238,0.35);
    animation: spin-slow 12s linear infinite;
    z-index: 1;
  }
  .about-photo-orbit {
    position: absolute;
    inset: -18px;
    border-radius: 50%;
    border: 1px solid rgba(244,114,182,0.18);
    animation: spin-slow 20s linear infinite reverse;
    z-index: 1;
  }
  @keyframes spin-slow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
  }
  .about-identity {
    flex: 1;
    min-width: 200px;
  }
  .about-fullname {
    font-family: 'Orbitron', monospace;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--star-white);
    margin-bottom: 4px;
  }
  .about-location {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7rem;
    color: var(--dim-text);
    letter-spacing: 0.08em;
    margin-bottom: 14px;
  }
  .about-social-links {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 16px;
  }
  .social-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.66rem;
    color: var(--dim-text);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.2s;
    width: fit-content;
  }
  .social-chip svg { flex-shrink: 0; color: var(--cosmic-cyan); }
  .social-chip:hover { color: var(--cosmic-cyan); }
  .about-cv-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Orbitron', monospace;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 9px 20px;
    background: transparent;
    color: var(--solar-gold);
    border: 1px solid var(--solar-gold);
    border-radius: 3px;
    text-decoration: none;
    cursor: none;
    transition: all 0.3s;
  }
  .about-cv-btn:hover {
    background: rgba(251,191,36,0.1);
    box-shadow: 0 0 20px rgba(251,191,36,0.25);
  }

  /* ──── CONTACT INFO ROW ──── */
  .contact-info-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 32px;
  }
  .contact-info-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    color: var(--dim-text);
    text-decoration: none;
    padding: 9px 18px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 4px;
    backdrop-filter: blur(8px);
    transition: all 0.3s;
  }
  .contact-info-chip svg { color: var(--cosmic-cyan); flex-shrink: 0; }
  .contact-info-chip:hover {
    color: var(--cosmic-cyan);
    border-color: rgba(34,211,238,0.4);
    box-shadow: 0 0 16px rgba(34,211,238,0.12);
  }

  /* ──── ABOUT GRID override when photo present ──── */
  .about-grid { align-items: start; }

  /* ──── CONTACT ──── */
  #contact { text-align: center; padding-bottom: 120px; }
  .contact-desc {
    font-size: 1rem;
    color: var(--dim-text);
    max-width: 500px;
    margin: 0 auto 48px;
    line-height: 1.75;
  }
  .contact-email {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1rem, 3vw, 1.6rem);
    font-weight: 700;
    color: var(--cosmic-cyan);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 48px;
    transition: all 0.3s;
    letter-spacing: 0.05em;
  }
  .contact-email:hover {
    color: var(--pulsar-pink);
    text-shadow: 0 0 30px rgba(244,114,182,0.5);
  }

  /* ──── FOOTER ──── */
  footer {
    position: relative; z-index: 10;
    border-top: 1px solid rgba(34,211,238,0.1);
    padding: 28px 48px;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 16px;
  }
  .footer-text {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--dim-text);
  }
  .footer-links { display: flex; gap: 28px; }
  .footer-links a {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--dim-text);
    text-decoration: none;
    transition: color 0.25s;
  }
  .footer-links a:hover { color: var(--cosmic-cyan); }

  /* ──── GITHUB ACTIVITY ──── */
  .gh-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 36px;
  }
  .gh-stat-card {
    background: rgba(13, 17, 23, 0.85);
    border: 1px solid rgba(34, 211, 238, 0.45);
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: border-color 0.3s, box-shadow 0.3s;
    box-shadow:
      0 0 0 1px rgba(34, 211, 238, 0.08),
      0 0 28px rgba(34, 211, 238, 0.12);
  }
  .gh-stat-card:hover {
    border-color: rgba(34, 211, 238, 0.65);
    box-shadow:
      0 0 0 1px rgba(34, 211, 238, 0.15),
      0 0 36px rgba(34, 211, 238, 0.2);
  }
  .gh-card-head {
    padding: 18px 20px 12px;
    border-bottom: 1px solid rgba(34, 211, 238, 0.12);
  }
  .gh-card-kicker {
    display: block;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.58rem;
    letter-spacing: 0.14em;
    color: var(--dim-text);
    text-transform: uppercase;
    margin-bottom: 8px;
  }
  .gh-card-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    font-weight: 700;
    color: var(--star-white);
    letter-spacing: 0.06em;
    margin: 0;
    line-height: 1.2;
  }
  .gh-card-media {
    padding: 16px 18px 20px;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .gh-card-media .gh-fallback {
    padding: 24px 16px;
    font-size: 0.72rem;
    line-height: 1.6;
  }
  .gh-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    background: transparent;
  }
  .gh-streak-card {
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
  }
  .gh-streak-img {
    max-width: 520px;
    margin: 0 auto;
  }
  .gh-contrib-wrap {
    margin-bottom: 28px;
  }
  .gh-contrib-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .gh-profile-link {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.65rem;
    color: var(--cosmic-cyan);
    text-decoration: none;
    letter-spacing: 0.08em;
    transition: color 0.2s;
  }
  .gh-profile-link:hover { color: var(--pulsar-pink); }
  .gh-contrib-card {
    background: rgba(13, 17, 23, 0.9);
    border: 1px solid rgba(34, 211, 238, 0.4);
    border-radius: 14px;
    padding: 20px 24px;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 0 24px rgba(34, 211, 238, 0.08);
  }
  .gh-contrib-card:hover {
    border-color: rgba(34, 211, 238, 0.55);
    box-shadow: 0 0 32px rgba(34, 211, 238, 0.14);
  }
  /* Outer clip only; day-cell rounding is applied in JS on the SVG */
  .gh-contrib-chart-clip {
    border-radius: 10px;
    overflow: hidden;
    line-height: 0;
  }
  .gh-contrib-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    /* Subtle boost; empty cells are recolored in JS for dark UI */
    filter: saturate(1.12) brightness(1.03);
  }
  .gh-contrib-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
  }
  .gh-legend-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    color: var(--dim-text);
  }
  .gh-legend-squares {
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .gh-legend-cell {
    width: 13px;
    height: 13px;
    border-radius: 3px;
    flex-shrink: 0;
  }
  .gh-legend-squares .gh-legend-cell:nth-child(1) {
    background: rgba(34, 211, 238, 0.12);
    border: 1px solid rgba(34, 211, 238, 0.15);
  }
  .gh-legend-squares .gh-legend-cell:nth-child(2) {
    background: rgba(34, 211, 238, 0.28);
  }
  .gh-legend-squares .gh-legend-cell:nth-child(3) {
    background: rgba(34, 211, 238, 0.48);
  }
  .gh-legend-squares .gh-legend-cell:nth-child(4) {
    background: rgba(34, 211, 238, 0.72);
  }
  .gh-legend-squares .gh-legend-cell:nth-child(5) {
    background: var(--cosmic-cyan);
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.55);
  }
  .gh-contrib-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .gh-contrib-footer span {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.62rem;
    color: var(--dim-text);
    letter-spacing: 0.06em;
  }
  .gh-streak-wrap {
    display: flex;
    justify-content: center;
  }
  .gh-fallback {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8rem;
    color: var(--dim-text);
    text-align: center;
    padding: 32px;
  }
  .gh-fallback a { color: var(--cosmic-cyan); }
  @media (max-width: 700px) {
    .gh-stats-row { grid-template-columns: 1fr; }
  }

  /* ──── NEBULA BG GLOW ──── */
  .nebula-bg {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
  }
  .nebula-1 {
    width: 600px; height: 600px;
    background: var(--nebula-purple);
    top: -200px; right: -200px;
  }
  .nebula-2 {
    width: 500px; height: 500px;
    background: var(--nebula-blue);
    bottom: 10%; left: -200px;
  }
  .nebula-3 {
    width: 300px; height: 300px;
    background: var(--pulsar-pink);
    top: 50%; right: 10%;
    opacity: 0.07;
  }

  /* ──── DIVIDER ──── */
  .cosmic-divider {
    position: relative; z-index: 10;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--card-border), transparent);
  }

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

  /* ──── MOBILE ──── */
  @media (max-width: 700px) {
    nav { padding: 14px 20px; }
    .nav-links { gap: 18px; }
    .about-grid { grid-template-columns: 1fr; }
    .edu-card { grid-template-columns: 1fr; }
    footer { flex-direction: column; text-align: center; }
    .tab-btn { padding: 10px 16px; font-size: 0.6rem; }
  }
