    /* =========================================================================
       3D CONTACT SECTION (Frosted Monolith, Prismatic Hub & 3D Gem Nodes)
       ========================================================================= */

    #contact .ct-wrap {
      text-align: left;
      position: relative;
      overflow: hidden;
      padding: clamp(28px, 4vw, 50px) clamp(16px, 3vw, 36px);
      border-radius: 28px;
      background: transparent;
      border: none;
      box-shadow: none;
    }

    /* Background Circuit Board Traces */
    .ct-circuits-svg {
      position: absolute;
      inset: -20px;
      width: calc(100% + 40px);
      height: calc(100% + 40px);
      pointer-events: none;
      z-index: 0;
      opacity: 0.85;
    }

    .circuit-dot {
      animation: circuitPulse 3s ease-in-out infinite alternate;
    }

    @keyframes circuitPulse {
      0% {
        opacity: 0.4;
        r: 3;
        filter: drop-shadow(0 0 2px currentColor);
      }
      100% {
        opacity: 1;
        r: 4.5;
        filter: drop-shadow(0 0 8px currentColor);
      }
    }

    /* 3D Stage Layout */
    .ct-3d-stage {
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
      gap: clamp(28px, 4vw, 56px);
      align-items: center;
      position: relative;
      z-index: 1;
      perspective: 1200px;
    }

    /* --- Left 3D Frosted Optical Refractive Glass Monolith --- */
    .ct-monolith-card {
      position: relative;
      perspective: 1000px;
    }

    .ct-monolith-glass {
      position: relative;
      padding: clamp(34px, 4.5vw, 54px) clamp(28px, 3.8vw, 46px);
      border-radius: 28px;
      background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.015) 45%, rgba(0, 229, 255, 0.03) 100%),
        radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.12), transparent 45%);
      backdrop-filter: blur(14px) url(#glass-refraction);
      -webkit-backdrop-filter: blur(14px);
      border: 1px solid rgba(255, 255, 255, 0.18);
      border-top: 1.5px solid rgba(255, 255, 255, 0.55);
      box-shadow:
        0 35px 80px rgba(0, 0, 0, 0.48),
        0 10px 25px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.38),
        inset 0 -1px 0 0 rgba(0, 229, 255, 0.15);
      transform: rotateY(3deg) rotateX(1.5deg);
      transform-style: preserve-3d;
      transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    }

    .ct-monolith-glass:hover {
      transform: rotateY(0deg) rotateX(0deg) translateY(-4px);
      box-shadow:
        0 40px 90px rgba(0, 0, 0, 0.55),
        0 14px 30px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.55),
        inset 0 -1px 0 0 rgba(0, 229, 255, 0.25);
    }

    .ct-monolith-bevel {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 14px;
      border-radius: 28px 28px 0 0;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
      pointer-events: none;
    }

    .ct-monolith-shine {
      position: absolute;
      inset: 0;
      border-radius: 28px;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, transparent 40%, rgba(0, 229, 255, 0.06) 100%);
      pointer-events: none;
    }

    .ct-monolith-inner {
      position: relative;
      z-index: 2;
    }

    .ct-monolith-title {
      font-family: var(--font-display);
      font-size: clamp(2rem, 3.8vw, 3.4rem);
      font-weight: 700;
      line-height: 1.08;
      letter-spacing: var(--heading-tracking);
      color: #ffffff;
      margin: 0 0 18px 0;
      text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
    }

    .ct-monolith-great {
      background: linear-gradient(135deg, #5ba9d6 0%, #ec4899 50%, #8bc9db 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      filter: drop-shadow(0 0 16px rgba(94, 201, 247, 0.55));
      display: inline-block;
    }

    .ct-monolith-desc {
      color: rgba(241, 245, 249, 0.9);
      font-size: clamp(0.95rem, 1.15vw, 1.05rem);
      line-height: 1.75;
      margin: 0 0 32px 0;
      max-width: 460px;
      font-weight: 400;
    }

    .ct-monolith-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .ct-glass-pill {
      display: inline-flex;
      align-items: center;
      padding: 8px 16px;
      border-radius: 999px;
      background: rgba(0, 229, 255, 0.06);
      border: 1px solid rgba(34, 211, 238, 0.45);
      color: #67e8f9;
      font-family: var(--font-body);
      font-size: 0.82rem;
      font-weight: 700;
      letter-spacing: 0.01em;
      backdrop-filter: blur(12px) url(#glass-refraction);
      -webkit-backdrop-filter: blur(12px);
      box-shadow:
        0 0 16px rgba(0, 229, 255, 0.2),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.35);
      transition: all 0.25s ease;
      cursor: default;
    }

    .ct-glass-pill:hover {
      background: rgba(0, 229, 255, 0.18);
      border-color: #22d3ee;
      color: #ffffff;
      box-shadow: 0 0 24px rgba(0, 229, 255, 0.6);
      transform: translateY(-2px);
    }

    /* --- Right 3D Pure Optical Refractive Crystal Plaque Hub & Nodes Composition --- */
    .ct-hub-composition {
      position: relative;
      min-height: 380px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 30px 10px 40px;
    }

    /* Central Prismatic Crystal Plaque with Refraction */
    .ct-crystal-plaque {
      position: relative;
      width: 100%;
      max-width: 420px;
      padding: clamp(30px, 3.6vw, 42px) clamp(24px, 3vw, 36px);
      border-radius: 22px;
      background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(32, 190, 255, 0.05) 100%);
      backdrop-filter: blur(14px) url(#glass-refraction);
      -webkit-backdrop-filter: blur(14px);
      border: 1px solid rgba(255, 255, 255, 0.20);
      border-top: 1.5px solid rgba(255, 255, 255, 0.60);
      box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.42),
        inset 0 -1px 0 0 rgba(32, 190, 255, 0.2);
      transform: rotateY(-3deg) rotateX(2deg);
      transform-style: preserve-3d;
      z-index: 5;
      transition: transform 0.4s ease, box-shadow 0.4s ease;
    }

    .ct-crystal-plaque:hover {
      transform: rotateY(0deg) rotateX(0deg) translateY(-3px);
      box-shadow:
        0 36px 85px rgba(0, 0, 0, 0.52),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.60),
        inset 0 -1px 0 0 rgba(32, 190, 255, 0.3);
    }

    .ct-crystal-facets {
      position: absolute;
      inset: 0;
      border-radius: 22px;
      background:
        linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.22) 46%, transparent 52%),
        radial-gradient(circle at 85% 15%, rgba(0, 229, 255, 0.25), transparent 45%),
        radial-gradient(circle at 15% 85%, rgba(244, 114, 182, 0.2), transparent 45%);
      pointer-events: none;
    }

    .ct-crystal-refraction {
      position: absolute;
      inset: 0;
      border-radius: 22px;
      border: 1px solid rgba(255, 255, 255, 0.25);
      pointer-events: none;
    }

    .ct-crystal-content {
      position: relative;
      z-index: 2;
    }

    .ct-crystal-kicker {
      font-family: var(--font-mono);
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.18em;
      color: #00e5ff;
      margin-bottom: 8px;
      text-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
      text-transform: uppercase;
    }

    .ct-crystal-heading {
      font-family: var(--font-display);
      font-size: clamp(1.4rem, 2.3vw, 1.95rem);
      font-weight: 700;
      color: #ffffff;
      margin: 0 0 10px 0;
      letter-spacing: var(--heading-tracking);
    }

    .ct-crystal-sub {
      color: rgba(226, 232, 240, 0.88);
      font-size: 0.88rem;
      line-height: 1.6;
      margin: 0 0 24px 0;
    }

    /* Embedded Amber/Copper Email Plaque */
    .ct-email-plaque {
      display: block;
      position: relative;
      padding: 13px 18px;
      border-radius: 14px;
      background: linear-gradient(135deg, #c2410c 0%, #ea580c 45%, #9a3412 100%);
      border: 1px solid rgba(255, 255, 255, 0.45);
      border-top: 1.5px solid rgba(255, 255, 255, 0.75);
      box-shadow:
        0 10px 25px rgba(234, 88, 12, 0.45),
        inset 0 1px 2px rgba(255, 255, 255, 0.6),
        inset 0 -2px 4px rgba(0, 0, 0, 0.35);
      text-decoration: none;
      cursor: pointer;
      overflow: hidden;
      transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
    }

    .ct-email-plaque:hover {
      transform: translateY(-2px) scale(1.02);
      box-shadow:
        0 16px 36px rgba(234, 88, 12, 0.65),
        inset 0 1px 3px rgba(255, 255, 255, 0.85);
    }

    .ct-email-sheen {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 50%;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 100%);
      pointer-events: none;
    }

    .ct-email-glow {
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 80% 50%, rgba(254, 215, 170, 0.3), transparent 60%);
      pointer-events: none;
    }

    .ct-email-text-wrap {
      position: relative;
      z-index: 2;
    }

    .ct-email-label {
      display: block;
      font-family: var(--font-body);
      font-weight: 800;
      font-size: 0.95rem;
      color: #ffffff;
      line-height: 1.2;
      text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    }

    .ct-email-address {
      display: block;
      font-family: var(--font-mono);
      font-size: 0.78rem;
      color: rgba(255, 255, 255, 0.92);
      margin-top: 2px;
      letter-spacing: 0.01em;
    }

    /* --- 3D Profile Nodes (Orbs, Gems, Semicircle Prisms) --- */
    .ct-node-item {
      position: absolute;
      display: flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      z-index: 10;
      cursor: pointer;
      transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
    }

    .ct-node-item:hover {
      transform: translateY(-8px) scale(1.12);
      z-index: 25;
    }

    /* Position 1: LinkedIn (Top-Left of crystal plaque) */
    .node-pos-linkedin {
      top: 15px;
      left: 15px;
    }

    /* Position 2: GitHub (Bottom-Left of crystal plaque) */
    .node-pos-github {
      bottom: 35px;
      left: 20px;
    }

    /* Position 3: LeetCode (Bottom-Center in front of plaque) */
    .node-pos-leetcode {
      bottom: -15px;
      left: 110px;
    }

    /* Position 4: Hugging Face (Right of crystal plaque) */
    .node-pos-hf {
      top: 48%;
      right: 0px;
      transform: translateY(-50%);
    }
    .node-pos-hf:hover {
      transform: translateY(calc(-50% - 8px)) scale(1.12);
    }

    /* Position 5: Kaggle (Bottom-Right) */
    .node-pos-kaggle {
      bottom: -22px;
      right: 50px;
    }

    /* Common Diamond Crystal & Prism Dimensions */
    .gem-body,
    .sphere-body {
      width: 82px;
      height: 82px;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      backdrop-filter: blur(16px) saturate(200%) brightness(1.15);
      -webkit-backdrop-filter: blur(16px) saturate(200%) brightness(1.15);
      transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .gem-shadow,
    .sphere-shadow,
    .prism-shadow {
      position: absolute;
      bottom: -14px;
      left: 50%;
      transform: translateX(-50%);
      width: 85%;
      height: 16px;
      background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.25) 45%, transparent 75%);
      filter: blur(4px);
      pointer-events: none;
    }

    .diamond-facets-svg {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 2;
    }

    /* Chandelier Crystal Light Glints */
    .diamond-specular {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.35) 15%, transparent 40%),
        linear-gradient(315deg, rgba(255, 255, 255, 0.45) 0%, transparent 35%);
      pointer-events: none;
      z-index: 4;
    }

    /* 1. LinkedIn Sparkling Blue Chandelier Diamond */
    .gem-body.glass-blue-diamond,
    .sphere-body.glass-blue {
      clip-path: polygon(50% 2%, 88% 18%, 98% 62%, 72% 98%, 24% 96%, 2% 58%, 14% 18%);
      background: 
        radial-gradient(circle at 45% 25%, rgba(255, 255, 255, 0.5) 0%, transparent 40%),
        linear-gradient(135deg, rgba(147, 197, 253, 0.42) 0%, rgba(59, 130, 246, 0.16) 40%, rgba(29, 78, 216, 0.32) 100%);
      border: 1.5px solid rgba(191, 219, 254, 0.85);
      border-top: 2.5px solid rgba(255, 255, 255, 0.98);
      box-shadow:
        0 16px 36px rgba(0, 0, 0, 0.5),
        0 0 35px rgba(59, 130, 246, 0.85),
        0 0 65px rgba(37, 99, 235, 0.45),
        inset 0 3px 8px rgba(255, 255, 255, 1),
        inset 0 -5px 10px rgba(30, 58, 138, 0.6),
        inset 0 0 16px rgba(255, 255, 255, 0.4);
      filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 30px rgba(59, 130, 246, 0.75));
    }

    .gem-body.glass-blue-diamond .linkedin-icon,
    .sphere-body.glass-blue .linkedin-icon {
      width: 36px;
      height: 36px;
      filter: drop-shadow(0 0 10px rgba(224, 242, 254, 0.95)) drop-shadow(0 0 22px rgba(147, 197, 253, 0.9)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.7));
      z-index: 5;
    }

    /* 2. GitHub Porcelain / White Crystal Chandelier Diamond */
    .gem-body.marble-white-diamond,
    .sphere-body.marble-white {
      clip-path: polygon(28% 4%, 76% 4%, 98% 34%, 84% 88%, 50% 98%, 14% 86%, 2% 34%);
      background: 
        radial-gradient(circle at 45% 25%, rgba(255, 255, 255, 0.7) 0%, transparent 45%),
        linear-gradient(140deg, rgba(255, 255, 255, 0.55) 0%, rgba(241, 245, 249, 0.20) 40%, rgba(203, 213, 225, 0.35) 100%);
      border: 1.5px solid rgba(255, 255, 255, 0.95);
      border-top: 2.5px solid rgba(255, 255, 255, 1);
      box-shadow:
        0 16px 36px rgba(0, 0, 0, 0.45),
        0 0 30px rgba(255, 255, 255, 0.65),
        0 0 55px rgba(255, 255, 255, 0.3),
        inset 0 3px 8px rgba(255, 255, 255, 1),
        inset 0 -5px 10px rgba(148, 163, 184, 0.5),
        inset 0 0 16px rgba(255, 255, 255, 0.5);
      filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.52)) drop-shadow(0 0 26px rgba(255, 255, 255, 0.45));
    }

    .gem-body.marble-white-diamond .github-icon,
    .sphere-body.marble-white .github-icon {
      width: 36px;
      height: 36px;
      filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.98)) drop-shadow(0 0 20px rgba(203, 213, 225, 0.85)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
      z-index: 5;
    }

    /* 3. LeetCode Sparkling Amber / Gold Chandelier Diamond */
    .gem-body.faceted-amber-diamond,
    .sphere-body.faceted-amber {
      clip-path: polygon(50% 2%, 86% 16%, 98% 54%, 80% 98%, 46% 98%, 18% 88%, 2% 52%, 14% 16%);
      background: 
        radial-gradient(circle at 45% 25%, rgba(255, 250, 220, 0.55) 0%, transparent 40%),
        linear-gradient(145deg, rgba(254, 240, 138, 0.45) 0%, rgba(245, 158, 11, 0.18) 40%, rgba(217, 119, 6, 0.38) 100%);
      border: 1.5px solid rgba(253, 230, 138, 0.95);
      border-top: 2.5px solid rgba(255, 255, 255, 1);
      box-shadow:
        0 16px 36px rgba(0, 0, 0, 0.5),
        0 0 38px rgba(245, 158, 11, 0.9),
        0 0 70px rgba(217, 119, 6, 0.45),
        inset 0 3px 8px rgba(255, 255, 255, 1),
        inset 0 -5px 10px rgba(180, 83, 9, 0.65),
        inset 0 0 16px rgba(254, 240, 138, 0.45);
      filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 35px rgba(245, 158, 11, 0.85));
    }

    .gem-body.faceted-amber-diamond .leetcode-icon,
    .sphere-body.faceted-amber .leetcode-icon {
      width: 38px;
      height: 38px;
      z-index: 5;
      position: relative;
      filter: drop-shadow(0 0 14px rgba(255, 161, 22, 1)) drop-shadow(0 0 28px rgba(251, 191, 36, 0.95)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.95));
    }

    /* 4. Hugging Face Shining Smoky Diamond with Radiant Bright Yellow Emoji */
    .gem-body.hf-dull-diamond,
    .sphere-body.hf-yellow {
      clip-path: polygon(50% 2%, 88% 20%, 98% 65%, 75% 98%, 25% 98%, 2% 65%, 12% 20%);
      background: 
        radial-gradient(circle at 45% 25%, rgba(254, 240, 138, 0.35) 0%, transparent 45%),
        linear-gradient(145deg, rgba(254, 240, 138, 0.28) 0%, rgba(60, 50, 30, 0.22) 45%, rgba(30, 24, 12, 0.48) 100%);
      border: 1.5px solid rgba(250, 204, 21, 0.7);
      border-top: 2.5px solid rgba(255, 255, 255, 0.95);
      box-shadow:
        0 16px 36px rgba(0, 0, 0, 0.5),
        0 0 32px rgba(234, 179, 8, 0.65),
        0 0 60px rgba(202, 138, 4, 0.35),
        inset 0 3px 8px rgba(255, 255, 255, 0.95),
        inset 0 -5px 10px rgba(80, 45, 12, 0.55),
        inset 0 0 16px rgba(254, 240, 138, 0.35);
      filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 28px rgba(234, 179, 8, 0.55));
    }

    .hf-radiant-glow {
      width: 48px;
      height: 48px;
      z-index: 5;
      filter: drop-shadow(0 0 16px rgba(254, 240, 138, 1)) drop-shadow(0 0 32px rgba(250, 204, 21, 1)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.95)) !important;
    }

    /* 5. Kaggle Authentic Blue Glowing Glass Semicircle Prism */
    .prism-body.glass-kaggle-blue {
      width: 142px;
      height: 66px;
      border-radius: 8px 8px 70px 70px;
      background: linear-gradient(180deg, rgba(34, 211, 238, 0.52) 0%, rgba(6, 182, 212, 0.22) 50%, rgba(2, 132, 199, 0.78) 100%);
      border: 1.5px solid rgba(125, 211, 252, 0.85);
      border-top: 2.5px solid rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      box-shadow:
        0 16px 32px rgba(0, 0, 0, 0.55),
        0 0 34px rgba(34, 211, 238, 0.8),
        0 0 60px rgba(6, 182, 212, 0.4),
        inset 0 2px 6px rgba(255, 255, 255, 0.95),
        inset 0 -5px 10px rgba(3, 105, 161, 0.85);
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
    }

    .prism-body.glass-kaggle-blue .kaggle-k {
      width: 32px;
      height: 32px;
      color: #20beff !important;
      fill: #20beff !important;
      filter: drop-shadow(0 0 12px rgba(32, 190, 255, 1)) drop-shadow(0 0 24px rgba(34, 211, 238, 0.85)) drop-shadow(0 2px 5px rgba(0, 0, 0, 0.6));
      z-index: 5;
    }

    /* Specular Light Overlays */
    .sphere-gloss {
      position: absolute;
      top: 7px;
      left: 10px;
      width: 18px;
      height: 10px;
      border-radius: 50%;
      background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 75%);
      transform: rotate(-30deg);
      pointer-events: none;
    }

    .sphere-highlight {
      position: absolute;
      inset: 1px;
      border-radius: 50%;
      border-top: 1.5px solid rgba(255, 255, 255, 0.75);
      pointer-events: none;
    }

    .prism-top-bevel {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 6px;
      border-radius: 6px 6px 0 0;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, transparent 100%);
      pointer-events: none;
    }

    /* Tooltips on Hover */
    .node-hover-label {
      position: absolute;
      bottom: -28px;
      left: 50%;
      transform: translateX(-50%) translateY(4px);
      padding: 4px 10px;
      border-radius: 6px;
      background: rgba(15, 23, 42, 0.92);
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: #f1f5f9;
      font-family: var(--font-body);
      font-size: 0.72rem;
      font-weight: 700;
      white-space: nowrap;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s ease, transform 0.2s ease;
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
      z-index: 30;
    }

    .ct-node-item:hover .node-hover-label {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }

    /* Light Theme Tweaks */
    html[data-theme="light"] .ct-monolith-glass {
      background:
        linear-gradient(170deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.6) 35%, rgba(200, 240, 255, 0.3) 100%);
      border-color: rgba(148, 163, 184, 0.4);
      box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }

    html[data-theme="light"] .ct-monolith-title {
      color: #0f172a;
      text-shadow: none;
    }

    html[data-theme="light"] .ct-monolith-desc {
      color: #334155;
    }

    html[data-theme="light"] .ct-crystal-plaque {
      background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.7) 100%);
      border-color: rgba(148, 163, 184, 0.4);
      box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }

    html[data-theme="light"] .ct-crystal-heading {
      color: #0f172a;
    }

    html[data-theme="light"] .ct-crystal-sub {
      color: #475569;
    }

    html[data-theme="light"] .node-hover-label {
      background: #0f172a;
      color: #ffffff;
    }

    /* Responsive Adaptations for 3D Contact Section */
    @media (max-width: 1024px) {
      .ct-3d-stage {
        grid-template-columns: 1fr;
        gap: 40px;
      }

      .ct-monolith-glass {
        transform: none !important;
      }

      .ct-crystal-plaque {
        transform: none !important;
        max-width: 500px;
        margin: 0 auto;
      }

      .ct-hub-composition {
        padding: 30px 10px 50px;
      }
    }

    @media (max-width: 640px) {
      .ct-hub-composition {
        flex-direction: column;
        gap: 20px;
        padding: 10px 0 20px;
      }

      .ct-crystal-plaque {
        max-width: 100%;
      }

      .ct-node-item {
        position: static;
        transform: none !important;
      }

      .node-pos-hf {
        transform: none !important;
      }

      .ct-hub-composition {
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
      }

      /* On small mobile, display the 5 nodes in a neat horizontal bar beneath the crystal plaque */
      .ct-hub-composition::after {
        content: '';
        display: none;
      }
    }

    /* Global footer styles are managed centrally in css/base.css */
    @keyframes ctPulse {

      0%,
      100% {
        opacity: .85;
        transform: translate(-50%, -50%) scale(1);
      }

      50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.04);
      }
    }

    @keyframes ctIn {
      0% {
        opacity: 0;
        transform: translateY(32px) scale(.98);
      }

      100% {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

/* Contact section — glass monolith and profile hub composition */
#contact {
  min-height: auto !important;
  padding: 54px clamp(24px, 4vw, 66px) 68px !important;
  overflow: hidden;
}

#contact .ct-wrap {
  width: min(1520px, 100%) !important;
  max-width: 1520px;
  min-height: 560px;
  padding: 24px 18px 28px;
  position: relative;
  overflow: hidden;
}

#contact .ct-3d-stage {
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  gap: clamp(8px, 1.5vw, 24px);
  min-height: 510px;
  align-items: center;
}

#contact .ct-monolith-card {
  width: 88%;
  margin-left: 3%;
  perspective: 1300px;
}

#contact .ct-monolith-glass {
  min-height: 420px;
  display: flex;
  align-items: center;
  padding: 54px clamp(34px, 4vw, 58px) 42px;
  border-radius: 48% 8% 9% 8% / 16% 8% 9% 8%;
  background:
    linear-gradient(145deg, rgba(222, 239, 247, .22), rgba(54, 75, 88, .16) 44%, rgba(10, 23, 31, .22) 100%),
    linear-gradient(105deg, rgba(255, 255, 255, .13), transparent 38%);
  border-top: 3px solid rgba(225, 245, 252, .72);
  border-left: 2px solid rgba(203, 235, 246, .58);
  border-right: 1px solid rgba(122, 174, 193, .38);
  border-bottom: 2px solid rgba(134, 186, 204, .38);
  box-shadow:
    -10px 22px 0 rgba(126, 169, 187, .13),
    0 34px 78px rgba(0, 0, 0, .46),
    inset 0 4px 12px rgba(255, 255, 255, .32),
    inset -14px -12px 24px rgba(1, 8, 13, .28);
  transform: rotateY(7deg) rotateZ(-1.2deg);
}

#contact .ct-monolith-glass:hover {
  transform: rotateY(4deg) rotateZ(-.5deg) translateY(-3px);
}

#contact .ct-monolith-bevel {
  height: 22px;
  border-radius: 100% 12px 0 0;
  opacity: .72;
}

#contact .ct-monolith-title {
  max-width: 520px;
  font-family: var(--font-body);
  font-size: clamp(2rem, 3.25vw, 3.25rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: .015em;
}

#contact .ct-monolith-great {
  background: linear-gradient(100deg, #4697b9, #ec4e9a);
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 0 12px rgba(218, 72, 168, .34));
  font-weight: 800;
}

#contact .ct-monolith-desc {
  max-width: 520px;
  margin-bottom: 22px;
  font-size: clamp(.84rem, 1vw, .98rem);
  line-height: 1.55;
}

#contact .ct-monolith-badges {
  gap: 8px;
}

#contact .ct-glass-pill {
  padding: 6px 13px;
  font-size: .72rem;
  border-width: 1px;
  box-shadow: 0 0 12px rgba(0, 229, 255, .22), inset 0 1px 2px rgba(255, 255, 255, .44);
}

#contact .ct-hub-composition {
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: visible;
}

#contact .ct-crystal-plaque {
  position: absolute;
  top: 18px;
  left: 50%;
  right: auto;
  width: 64%;
  max-width: 390px;
  min-height: 292px;
  padding: 38px 34px 32px;
  isolation: isolate;
  border-radius: 0;
  border: 0;
  background: linear-gradient(135deg,
    rgba(213, 242, 250, .88),
    rgba(64, 196, 224, .48) 34%,
    rgba(92, 171, 205, .42) 70%,
    rgba(205, 230, 239, .72));
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
  box-shadow:
    0 28px 55px rgba(0, 0, 0, .42),
    0 0 28px rgba(34, 211, 238, .10);
  transform: translateX(-50%) rotateY(-2deg);
}

#contact .ct-crystal-plaque::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 1px;
  background:
    linear-gradient(145deg, rgba(22, 38, 49, .96), rgba(6, 15, 21, .97)),
    linear-gradient(105deg, rgba(255, 255, 255, .08), transparent 42%);
  clip-path: polygon(23px 0, 100% 0, 100% calc(100% - 23px), calc(100% - 23px) 100%, 0 100%, 0 23px);
}

#contact .ct-crystal-plaque:hover {
  transform: translateX(-50%) rotateY(0deg) translateY(-2px);
}

#contact .ct-crystal-facets {
  border-radius: 0;
  clip-path: inherit;
  opacity: .36;
}

#contact .ct-crystal-refraction {
  inset: 11px;
  border-radius: 0;
  border: 1px solid rgba(133, 210, 226, .20);
  clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
}

#contact .ct-crystal-kicker {
  font-size: .63rem;
  margin-bottom: 7px;
}

#contact .ct-crystal-heading {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  margin-bottom: 13px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(92, 189, 210, .30);
}

#contact .ct-crystal-sub {
  max-width: 310px;
  margin-bottom: 20px;
  font-size: .78rem;
  line-height: 1.42;
}

#contact .ct-email-plaque {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  width: 100%;
  padding: 15px 22px;
  border-radius: 8px;
  background: linear-gradient(115deg, #8f2115 0%, #d84620 44%, #8c1f17 100%);
  box-shadow:
    0 15px 30px rgba(123, 28, 17, .52),
    inset 0 2px 4px rgba(255, 206, 174, .34),
    inset 0 -3px 6px rgba(35, 3, 0, .42);
  transform: none;
  border: 1px solid rgba(255, 204, 177, .42);
}

#contact .ct-email-plaque:hover {
  transform: translateY(-2px);
}

#contact .ct-email-label { font-size: .82rem; }
#contact .ct-email-address {
  font-size: .67rem;
  overflow-wrap: anywhere;
}

#contact .ct-node-item {
  position: absolute;
  z-index: 12;
  transform: none;
}

#contact .ct-node-item:hover {
  transform: translateY(-8px) scale(1.08);
}

#contact .node-pos-linkedin { top: 138px; left: 1%; }
#contact .node-pos-github { bottom: 92px; left: 5%; }
#contact .node-pos-leetcode { bottom: 48px; left: 28%; }
#contact .node-pos-hf { top: 49%; right: 0; transform: translateY(-50%); }
#contact .node-pos-hf:hover { transform: translateY(calc(-50% - 8px)) scale(1.08); }
#contact .node-pos-kaggle { bottom: 0; right: 18%; }

#contact .gem-body,
#contact .sphere-body {
  width: 82px;
  height: 82px;
}

#contact .gem-body.faceted-amber-diamond,
#contact .gem-body.hf-dull-diamond,
#contact .sphere-body.faceted-amber,
#contact .sphere-body.hf-yellow {
  width: 82px;
  height: 82px;
}

#contact .gem-body.glass-blue-diamond .linkedin-icon,
#contact .sphere-body.glass-blue .linkedin-icon { width: 36px; height: 36px; }
#contact .gem-body.marble-white-diamond .github-icon,
#contact .sphere-body.marble-white .github-icon { width: 36px; height: 36px; }
#contact .gem-body.faceted-amber-diamond .leetcode-icon,
#contact .sphere-body.faceted-amber .leetcode-icon { width: 38px; height: 38px; }
#contact .gem-body.hf-dull-diamond .hf-emoji-svg,
#contact .sphere-body.hf-yellow .hf-emoji-svg { width: 48px; height: 48px; }

#contact .prism-body.glass-kaggle-blue {
  width: 142px;
  height: 66px;
  border-radius: 7px 7px 70px 70px;
}

#contact .prism-body.glass-kaggle-blue .kaggle-k {
  width: 34px;
  height: 34px;
  color: #20beff !important;
  fill: #20beff !important;
}

html[data-theme="light"] #contact .ct-monolith-glass,
html[data-theme="light"] #contact .ct-crystal-plaque {
  background:
    linear-gradient(145deg, rgba(250, 253, 254, .82), rgba(198, 220, 228, .54)),
    linear-gradient(105deg, rgba(255, 255, 255, .60), transparent 42%);
}

html[data-theme="light"] #contact .ct-crystal-plaque::before {
  background: linear-gradient(145deg, rgba(250, 253, 254, .98), rgba(221, 234, 239, .97));
}

html[data-theme="light"] #contact .ct-crystal-plaque {
  background: linear-gradient(135deg,
    rgba(43, 137, 158, .72),
    rgba(45, 182, 210, .48) 38%,
    rgba(78, 147, 177, .40) 72%,
    rgba(50, 106, 125, .62));
}

@media (max-width: 1100px) {
  #contact .ct-wrap { min-height: auto; }
  #contact .ct-3d-stage { grid-template-columns: 1fr; gap: 46px; }
  #contact .ct-monolith-card { width: min(680px, 92%); margin-inline: auto; }
  #contact .ct-monolith-glass { transform: none; }
  #contact .ct-hub-composition { width: min(680px, 100%); margin-inline: auto; }
}

@media (max-width: 800px) {
  #contact { padding: 52px 18px 60px !important; }
  #contact .ct-wrap { padding-inline: 0; }
  #contact .ct-monolith-card { width: 100%; }
  #contact .ct-monolith-glass {
    min-height: auto;
    padding: 42px 25px 32px;
    border-radius: 28% 8% 9% 8% / 10% 8% 9% 8%;
  }
  #contact .ct-hub-composition {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto auto;
    gap: 20px 12px;
    min-height: auto;
    padding-top: 0;
  }
  #contact .ct-crystal-plaque {
    position: relative;
    inset: auto;
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    min-height: 250px;
    margin: 0 0 24px;
    transform: none;
  }
  #contact .ct-node-item,
  #contact .node-pos-hf {
    position: relative;
    inset: auto;
    grid-row: 2;
    transform: none;
    justify-self: center;
  }
  #contact .node-pos-linkedin { grid-column: 1; }
  #contact .node-pos-github { grid-column: 2; }
  #contact .node-pos-leetcode { grid-column: 3; }
  #contact .node-pos-hf { grid-column: 1; grid-row: 3; }
  #contact .node-pos-kaggle { grid-column: 2 / span 2; grid-row: 3; justify-self: center; }
  #contact .sphere-body { width: 66px; height: 66px; }
  #contact .sphere-body.faceted-amber,
  #contact .sphere-body.hf-yellow { width: 66px; height: 66px; }
  #contact .prism-body.glass-kaggle-blue { width: 112px; height: 54px; }
}




/* Blur the glass inside its clipped face, then cast the glow from outside.
   Filtering the same layer that owns backdrop-filter exposes its square
   backing texture when the crystal is transformed on hover. */
#contact .node-pos-linkedin {
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, .55))
    drop-shadow(0 0 30px rgba(59, 130, 246, .75));
}
#contact .node-pos-github {
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, .52))
    drop-shadow(0 0 26px rgba(255, 255, 255, .45));
}
#contact .node-pos-leetcode {
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .6))
    drop-shadow(0 0 35px rgba(245, 158, 11, .85));
}
#contact .node-pos-hf {
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, .55))
    drop-shadow(0 0 28px rgba(234, 179, 8, .55));
}
#contact .gem-body.glass-blue-diamond,
#contact .gem-body.marble-white-diamond,
#contact .gem-body.faceted-amber-diamond,
#contact .gem-body.hf-dull-diamond {
  filter: none;
}

@media (max-width: 800px) {
  #contact .ct-3d-stage { gap: 28px; }
  #contact .ct-monolith-glass { padding: 30px 20px 24px; }
  #contact .ct-monolith-title { font-size: clamp(1.65rem, 7.5vw, 2.4rem); }
  #contact .ct-monolith-desc { margin-block: 16px; line-height: 1.6; }
  #contact .ct-crystal-plaque { min-height: 0; padding: 28px 24px; margin-bottom: 8px; }
  #contact .ct-email-plaque { min-height: 56px; }
  #contact .ct-hub-composition { gap: 16px 10px; }
  #contact .gem-body,
  #contact .gem-body.faceted-amber-diamond,
  #contact .gem-body.hf-dull-diamond { width: 64px; height: 64px; }
  #contact .ct-crystal-plaque:hover,
  #contact .ct-monolith-glass:hover,
  #contact .ct-node-item:hover,
  #contact .node-pos-hf:hover { transform: none; }
}
