﻿*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --bg:        #1a1510;
      --bg2:       #201b14;
      --card-bg:   #252018;
      --accent:    #e8a94d;
      --accent-dk: #c4883a;
      --accent-lt: #f0be72;
      --text:      #f5f0e8;
      --text-muted:#8a8070;
      --border:    rgba(232,169,77,.12);
      --page-pad-x: 0px;
      --bar-bg: #2e2520;
      --icon-bg: #2a2118;
      --chip-bg: #261e18;
      --chip-border: #3a2e26;
    }

    html { scroll-behavior: smooth; }
    body {
      background-color: var(--bg);
      background-image:
        radial-gradient(1000px 700px at 18% 28%, rgba(232,169,77,0.16), rgba(232,169,77,0) 60%),
        radial-gradient(950px 850px at 72% 55%, rgba(232,169,77,0.12), rgba(232,169,77,0) 62%),
        radial-gradient(700px 700px at 85% 18%, rgba(255,255,255,0.035), rgba(255,255,255,0) 58%),
        radial-gradient(1400px 1000px at 50% 45%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.62) 78%, rgba(0,0,0,0.88) 100%),
        linear-gradient(180deg, var(--bg) 0%, #14100b 58%, #0f0c07 100%);
      background-repeat: no-repeat;
      background-attachment: fixed;
      color: var(--text);
      font-family: 'Barlow', sans-serif;
      font-size: 16px;
      line-height: 1.6;
      overflow-x: hidden;
      padding: 100px 0 0;
    }

    /* Navbar styles live in styles.css (universal header) */

    /* â”€â”€ CONTAINER â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
    .container {
      max-width: var(--content-max);
      margin: 0 auto;
      padding: 0 var(--content-pad-x);
    }

    /* â”€â”€â”€ TECH GALAXY â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
    .section-galaxy {
      padding: 20px 0 72px;
      background: var(--bg);
      position: relative;
    }

    .section-galaxy .container {
      display: flex;
      flex-direction: column;
    }

    .galaxy-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      margin-bottom: 36px;
      gap: 40px;
    }

    .galaxy-title {
      font-size: clamp(20px, 2.6vw, 30px);
      font-weight: 900;
      color: var(--text);
      line-height: 1.15;
      flex-shrink: 0;
      font-family: 'Barlow', sans-serif;
    }
    .galaxy-title .gold { color: var(--accent); }

    .galaxy-desc {
      max-width: 440px;
      font-size: 14px;
      color: rgba(255,255,255,0.5);
      line-height: 1.7;
      margin-top: 14px;
    }

    .galaxy-right {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 0;
    }

    .galaxy-filter-pills {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      justify-content: flex-end;
      margin-top: 14px;
    }
    .filter-pill {
      background: transparent;
      border: 1.5px solid rgba(255,255,255,0.18);
      border-radius: 20px;
      padding: 7px 18px;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 1.2px;
      text-transform: uppercase;
      color: rgba(255,255,255,0.6);
      cursor: pointer;
      transition: all .2s;
      font-family: 'Barlow', sans-serif;
    }
    .filter-pill:hover,
    .filter-pill.active {
      border-color: var(--accent);
      color: var(--accent);
      background: rgba(232,169,77,0.08);
    }

    .galaxy-canvas-wrap {
      background: linear-gradient(135deg, #1e1a0e 0%, #251f0e 40%, #1a1508 100%);
      border: 1px solid #2a2618;
      border-radius: 20px;
      position: relative;
      height: 420px;
      overflow: hidden;
    }

    .galaxy-canvas-wrap::before {
      content: '';
      position: absolute;
      left: 50%; top: 50%;
      transform: translate(-50%, -50%);
      width: 340px; height: 260px;
      background: radial-gradient(ellipse, rgba(180,120,30,0.22) 0%, transparent 70%);
      pointer-events: none;
      z-index: 0;
    }

    #galaxyCanvas {
      position: absolute;
      inset: 0;
      width: 100%; height: 100%;
      z-index: 1;
    }

    .g-node {
      position: absolute;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      z-index: 3;
      transform: translate(-50%, -50%);
      cursor: pointer;
    }

    .g-node-circle {
      width: 56px; height: 56px;
      border-radius: 50%;
      background: #1e1c12;
      border: 2px solid #3a3420;
      display: flex; align-items: center; justify-content: center;
      transition: border-color .2s, transform .2s, box-shadow .2s;
    }
    .g-node:hover .g-node-circle {
      border-color: var(--accent);
      transform: scale(1.1);
      box-shadow: 0 0 20px rgba(232,169,77,0.3);
    }
    .g-node-circle i { font-size: 22px; color: var(--accent); }

    .g-node-label {
      font-size: 12px;
      font-weight: 700;
      color: rgba(255,255,255,0.7);
      text-align: center;
      line-height: 1.3;
    }

    .g-node-center .g-node-circle {
      width: 80px; height: 80px;
      border: 2px solid var(--accent);
      box-shadow: 0 0 30px rgba(232,169,77,0.25);
      background: #221c0c;
    }
    .g-node-center .g-node-circle i { font-size: 30px; }
    .g-node-center .g-node-label {
      font-size: 15px;
      font-weight: 900;
      color: var(--accent);
    }
    .g-node-center .g-node-sublabel {
      font-size: 10px;
      font-weight: 600;
      color: rgba(255,255,255,0.45);
      letter-spacing: 0.5px;
    }

    .g-node-sm .g-node-circle {
      width: 36px; height: 36px;
      background: #e0e8e0;
      border: none;
    }
    .g-node-sm .g-node-circle i {
      font-size: 16px;
      color: #1a2a1a;
    }
    .g-node-sm-teal .g-node-circle { background: #4dd9c0; }
    .g-node-sm-blue .g-node-circle { background: #d0e8f0; }

    /* â”€â”€ Skill Cards Row â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
    .skill-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1rem;
      margin-bottom: 3rem;
    }

    @media (max-width: 900px) { .skill-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 520px) { .skill-grid { grid-template-columns: 1fr; } }

    .skill-card {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 1.3rem 1.2rem 1.5rem;
      transition: border-color .25s, transform .25s;
    }
    .skill-card:hover {
      border-color: var(--accent-dk);
      transform: translateY(-2px);
    }

    .card-header {
      display: flex;
      align-items: center;
      gap: .65rem;
      margin-bottom: 1.1rem;
    }

    .card-icon {
      width: 32px;
      height: 32px;
      background: var(--icon-bg);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--accent);
      font-size: 1rem;
      flex-shrink: 0;
    }

    .card-title {
      font-family: 'Space Mono', monospace;
      font-size: .95rem;
      font-weight: 700;
      letter-spacing: -.01em;
      color: var(--text);
    }

    .skill-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: .75rem;
      margin-bottom: .6rem;
    }
    .skill-row:last-child { margin-bottom: 0; }

    .skill-name {
      font-size: .78rem;
      color: var(--text-muted);
      white-space: nowrap;
      min-width: 90px;
    }

    .bar-track {
      flex: 1;
      height: 4px;
      background: var(--bar-bg);
      border-radius: 99px;
      overflow: hidden;
    }
    .bar-fill {
      height: 100%;
      background: var(--accent);
      border-radius: 99px;
      width: 0;
      transition: width 1s cubic-bezier(.4,0,.2,1);
    }

    /* â”€â”€ Section heading â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
    .section-meta {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      margin-bottom: 1.6rem;
      flex-wrap: wrap;
      gap: .5rem;
    }

    .section-title {
      font-family: 'Space Mono', monospace;
      font-size: 1.3rem;
      font-weight: 700;
      line-height: 1.15;
      color: var(--text);
    }

    .tech-count {
      display: flex;
      align-items: center;
      gap: .4rem;
      font-size: .72rem;
      font-weight: 600;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: var(--accent);
      font-family: 'Space Mono', monospace;
    }
    .tech-count i { font-size: .85rem; }

    /* â”€â”€ Tech chips â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
    .chip-grid {
      display: flex;
      flex-wrap: wrap;
      gap: .65rem;
      margin-bottom: 72px;
    }

    .chip {
      display: flex;
      align-items: center;
      gap: .5rem;
      background: var(--chip-bg);
      border: 1px solid var(--chip-border);
      border-radius: 10px;
      padding: .55rem .85rem;
      cursor: default;
      transition: border-color .2s, background .2s;
    }
    .chip:hover {
      border-color: var(--accent-dk);
      background: #2e2218;
    }

    .chip-icon {
      width: 30px;
      height: 30px;
      border-radius: 7px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1rem;
      flex-shrink: 0;
    }

    .chip-label {
      font-size: .78rem;
      color: var(--text-muted);
      font-weight: 500;
    }

    /* icon bg colors */
    .ic-react    { background: #1a2e3a; color: #61dafb; }
    .ic-next     { background: #1a1a1a; color: #fff; }
    .ic-python   { background: #1e2c1e; color: #4caf50; }
    .ic-postgres { background: #1e2233; color: #6fa8dc; }
    .ic-aws      { background: #2a2215; color: #ff9900; }
    .ic-docker   { background: #0d2233; color: #2496ed; }
    .ic-tailwind { background: #0d2233; color: #38bdf8; }
    .ic-ts       { background: #1a2233; color: #3178c6; }
    .ic-node     { background: #1a2e1a; color: #8cc84b; }
    .ic-django   { background: #0d2218; color: #44b78b; }
    .ic-k8s      { background: #0d1e33; color: #326ce5; }
    .ic-terra    { background: #1e1a2e; color: #7b42bc; }
    .ic-git      { background: #2e1a18; color: #f05032; }
    .ic-figma    { background: #2a1a28; color: #f24e1e; }
    .ic-unity    { background: #1a1a1a; color: #ddd; }
    .ic-ci       { background: #2a2215; color: #f0a30a; }

    /* staggered fade-in */
    .chip { opacity: 0; transform: translateY(10px); }
    .chip.visible {
      animation: chipIn .4s forwards;
    }
    @keyframes chipIn {
      to { opacity: 1; transform: translateY(0); }
    }

    /* â”€â”€ RESPONSIVE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
    @media (max-width: 900px) {
      .galaxy-header { flex-direction: column; gap: 18px; }
      .galaxy-right, .galaxy-filter-pills { align-items: flex-start; justify-content: flex-start; }
      .skill-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 520px) {
      .skill-grid { grid-template-columns: 1fr; }
    }

