/* ============================================================
   JAKUB MYTYL PORTFOLIO — CLEANED STYLE.CSS
   ============================================================ */

/* ============================================================
   VARIABLES & RESET
   ============================================================ */
   :root {
    --accent: #f5c84b;
    --accent-soft: rgba(245,200,75,.12);
    --accent-border: rgba(245,200,75,.22);
    --cyan: #22d3ee;
    --cyan-soft: rgba(34,211,238,.10);
    --cyan-border: rgba(34,211,238,.22);
    --green: #9ee1b3;
    --bg: #0b0b0c;
    --panel: rgba(20,20,23,.82);
    --panel-dark: rgba(14,14,17,.88);
    --border: rgba(255,255,255,.08);
    --border-gold: rgba(245,200,75,.18);
    --text: #f0f0f2;
    --muted: #a1a1aa;
    --muted2: #c4c4cc;
    --radius: 1.35rem;
    --radius-sm: .85rem;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'Space Mono', monospace;
  }
  
  *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  html {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    scroll-behavior: smooth;
  }
  
  body {
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    overflow-x: clip;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background:
      radial-gradient(ellipse at 12% 10%, rgba(245,200,75,.10) 0%, transparent 32%),
      radial-gradient(ellipse at 88% 20%, rgba(34,211,238,.07) 0%, transparent 30%),
      radial-gradient(ellipse at 50% 80%, rgba(158,225,179,.04) 0%, transparent 40%),
      linear-gradient(160deg, #090909 0%, #0f0f11 50%, #080808 100%);
  }
  
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 22px 22px;
  }
  
  body::after {
    content: "";
    position: fixed;
    inset: -20%;
    z-index: 0;
    pointer-events: none;
    filter: blur(28px);
    background:
      radial-gradient(circle at 18% 28%, rgba(245,200,75,.065), transparent 26%),
      radial-gradient(circle at 82% 65%, rgba(34,211,238,.05), transparent 28%);
    animation: ambientFloat 20s ease-in-out infinite alternate;
  }
  
  img, video, canvas, svg {
    max-width: 100%;
  }
  
  button, a {
    -webkit-tap-highlight-color: transparent;
  }
  
  a {
    color: inherit;
    text-decoration: none;
    transition: color .2s, opacity .2s;
  }
  
  p {
    font-weight: 400;
    letter-spacing: -.01em;
  }
  
  h1, h2, h3,
  .profile-name,
  .section-header h2,
  .proj-card h3,
  .tl-head h3 {
    font-family: var(--font-display);
    letter-spacing: -.03em;
  }
  
  .side-info a,
  .side-info span,
  .tl-company,
  .tl-body p,
  .proj-card p,
  .skill-name {
    line-height: 1.7;
  }
  
  /* ============================================================
     NAVIGATION
     ============================================================ */
  .topbar {
    position: sticky;
    top: 0;
    z-index: 200;
    width: 100%;
    max-width: 100%;
    background: rgba(9,9,10,.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    animation: navSlide .65s cubic-bezier(.2,.8,.2,1) both;
  }
  
  .nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: .75rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  
  .nav-logo {
    margin-right: auto;
    flex-shrink: 0;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -.02em;
    border: 0;
    background: none;
    padding: 0;
  }
  
  .nav-logo-dot {
    color: var(--accent);
  }
  
  .nav-links {
    display: flex;
    align-items: center;
    gap: .25rem;
    list-style: none;
  }
  
  .nav-links a {
    padding: .42rem .78rem;
    border-radius: 999px;
    color: var(--muted);
    font-family: var(--font-body);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .01em;
    transition: color .2s, background .2s;
  }
  
  .nav-links a:hover,
  .nav-links a.active {
    color: var(--accent);
    background: var(--accent-soft);
  }
  
  .nav-links a.nav-cta {
    padding: .42rem .95rem;
    color: #111;
    background: var(--accent);
    font-weight: 800;
  }
  
  .nav-links a.nav-cta:hover {
    color: #000;
    background: #ffd76b;
  }
  
  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    padding: .4rem;
    border: 0;
    background: none;
    cursor: pointer;
  }
  
  .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--muted2);
    transition: transform .3s, opacity .3s;
  }
  
  .hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  /* ============================================================
     MAIN LAYOUT
     ============================================================ */
  .page-shell {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 1.75rem 4rem;
  }
  
  .app-layout {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: stretch;
  }
  
  .content-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  
  /* ============================================================
     SIDEBAR
     ============================================================ */
  /* sidebar outer — transparent stretch container */
  .sidebar {
    align-self: stretch;
    max-width: 100%;
  }

  /* sidebar inner — visual card + sticky behavior */
  .sidebar-inner {
    position: sticky;
    top: 5.5rem;
    display: flex;
    flex-direction: column;
    padding: 1.6rem 1.3rem 1.5rem;
    overflow: hidden;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: 0 24px 72px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.04);
    animation: sidebarIn .7s cubic-bezier(.2,.8,.2,1) .1s both;
  }

  .sidebar-inner::before {
    content: "";
    position: absolute;
    top: -40%;
    left: -30%;
    width: 120%;
    height: 80%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(245,200,75,.07), transparent 65%);
  }
  
  .avatar-wrap {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 1.1rem;
  }
  
  .avatar-ring {
    position: absolute;
    inset: -5px;
    overflow: hidden;
    border-radius: 1.65rem;
    opacity: .6;
    background: conic-gradient(from 200deg, var(--accent), var(--cyan), var(--green), var(--accent));
  }
  
  .avatar-ring::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(115deg, transparent 15%, rgba(255,255,255,.92) 45%, rgba(255,255,255,.98) 50%, rgba(255,255,255,.92) 55%, transparent 85%);
    transform: translateX(-140%);
    animation: avatarShimmer 2.4s ease-in-out infinite;
  }
  
  .avatar-ring::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 1.35rem;
    background: var(--bg);
  }
  
  .avatar {
    position: relative;
    z-index: 2;
    width: 110px;
    height: 110px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 1.45rem;
    background: #18181b;
  }
  
  .avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .profile {
    text-align: center;
  }
  
  .profile-name {
    margin-bottom: .55rem;
    color: #fff;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e2 50%, rgba(245,200,75,.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.15;
  }
  
  .profile-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .32rem .85rem;
    border: 1px solid var(--accent-border);
    border-radius: 999px;
    color: var(--accent);
    background: var(--accent-soft);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    box-shadow: 0 0 18px rgba(245,200,75,.08);
  }

  .profile-badge::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    opacity: .75;
  }
  
  .divider {
    height: 1px;
    margin: 1.2rem 0;
    background: var(--border);
  }

  .sidebar-spacer {
    margin-top: auto;
    margin-bottom: 1rem;
  }
  
  .side-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .55rem;
  }

  .side-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: .75rem;
    align-items: center;
    padding: .4rem .35rem;
    border-radius: .75rem;
    transition: background .2s;
  }

  .side-item:hover {
    background: rgba(255,255,255,.035);
  }

  .side-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border: 1px solid var(--border);
    border-radius: .75rem;
    color: var(--accent);
    background: rgba(255,255,255,.04);
    font-size: 1rem;
    transition: border-color .22s, box-shadow .22s, background .22s;
  }

  .side-item:hover .side-icon {
    border-color: var(--accent-border);
    background: var(--accent-soft);
    box-shadow: 0 0 16px rgba(245,200,75,.12);
  }

  .side-info small {
    display: block;
    margin-bottom: .1rem;
    color: var(--muted);
    font-size: .63rem;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
  }

  .side-info a,
  .side-info span,
  .copy-email {
    max-width: 100%;
    overflow-wrap: anywhere;
    color: var(--text);
    font-size: .86rem;
    font-weight: 500;
  }

  .side-info a:hover,
  .copy-email:hover {
    color: var(--accent);
  }

  .copy-email {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    cursor: pointer;
    text-align: left;
  }

  /* ── STATUS CHIP ── */
  .sidebar-status {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .5rem .85rem;
    border: 1px solid rgba(158,225,179,.22);
    border-radius: 999px;
    background: rgba(158,225,179,.07);
    color: var(--green);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .02em;
    cursor: default;
    transition: background .2s, border-color .2s;
  }

  .sidebar-status:hover {
    background: rgba(158,225,179,.12);
    border-color: rgba(158,225,179,.35);
  }

  .status-dot {
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 3px rgba(158,225,179,.22);
    animation: pulse 2.5s ease-in-out infinite;
  }
  
  /* ============================================================
     SECTIONS
     ============================================================ */
  .section {
    position: relative;
    max-width: 100%;
    margin-bottom: 1.5rem;
    padding: 2.5rem 2rem;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: 0 18px 52px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.035);
  }
  
  .section-header {
    margin-bottom: 1.75rem;
  }
  
  .kicker {
    display: block;
    margin-bottom: .4rem;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .08em;
  }
  
  .section-header h2 {
    color: #fff;
    background: linear-gradient(135deg, #ffffff 0%, #e8e8ea 40%, rgba(245,200,75,.88) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1.1;
    overflow-wrap: anywhere;
  }
  
  /* ============================================================
     ABOUT
     ============================================================ */
  .about-section {
    position: relative;
  }
  
  .about-lead {
    position: relative;
    z-index: 1;
    max-width: 100%;
    padding: 1.25rem 1.35rem;
    margin-bottom: .75rem;
    overflow: hidden;
    border: 1px solid rgba(245,200,75,.16);
    border-radius: var(--radius-sm);
    background:
      radial-gradient(circle at 0% 0%, rgba(245,200,75,.09), transparent 48%),
      radial-gradient(circle at 100% 80%, rgba(34,211,238,.06), transparent 52%),
      rgba(255,255,255,.025);
  }
  
  .about-lead::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent, rgba(255,255,255,.04), transparent);
    transform: translateX(-120%);
    animation: aboutSweep 7s ease-in-out infinite;
    pointer-events: none;
  }
  
  .about-lead-small,
  .about-lead > strong,
  .about-lead > p {
    position: relative;
    z-index: 1;
  }
  
  .about-lead-small {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: .55rem;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
  }

  .about-lead-small::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 2px rgba(245,200,75,.22);
    animation: pulse 2.5s ease-in-out infinite;
  }
  
  .about-lead > strong {
    display: block;
    max-width: 820px;
    margin-bottom: .65rem;
    color: #fff;
    background: linear-gradient(135deg, #ffffff 0%, #e8e8ea 45%, rgba(245,200,75,.88) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.045em;
  }
  
  .about-lead > p {
    max-width: 820px;
    margin: 0;
    color: var(--muted2);
    font-size: clamp(.98rem, 1.4vw, 1.12rem);
    line-height: 1.65;
  }
  
  .about-lead + br {
    display: none;
  }
  
  .stats-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: stretch;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 1.15rem 1.25rem;
    border: 1px solid rgba(34,211,238,.16);
    border-radius: var(--radius-sm);
    background:
      radial-gradient(circle at 100% 0%, rgba(34,211,238,.08), transparent 45%),
      rgba(14,14,17,.72);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 18px 50px rgba(0,0,0,.16);
  }
  
  .stat-item {
    min-width: 0;
    text-align: center;
  }
  
  .stat-num,
  .stat-suffix {
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 3vw, 2.55rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
  }
  
  .stat-suffix {
    color: var(--accent);
  }
  
  .stat-label {
    display: block;
    margin-top: .4rem;
    color: var(--muted);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
  }
  
  .stat-divider {
    width: 1px;
    min-height: 56px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,.12), transparent);
  }
  
  .about-areas {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
  }
  
  .area-item {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: .9rem;
    padding: 1.05rem;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(255,255,255,.04), rgba(255,255,255,.018));
    transition: transform .25s, border-color .25s, background .25s;
  }

  .area-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    background: linear-gradient(90deg, var(--accent), rgba(245,200,75,.15));
    opacity: .35;
    transition: opacity .25s;
  }

  .area-item:hover::before { opacity: 1; }

  /* CRM — cyan */
  .about-areas .area-item:nth-child(2)::before {
    background: linear-gradient(90deg, var(--cyan), rgba(34,211,238,.15));
  }

  /* DEV — green */
  .about-areas .area-item:nth-child(3)::before {
    background: linear-gradient(90deg, var(--green), rgba(158,225,179,.15));
  }

  .area-item:hover {
    transform: translateY(-4px);
    border-color: rgba(245,200,75,.24);
    background:
      radial-gradient(circle at 0% 0%, rgba(245,200,75,.075), transparent 55%),
      rgba(255,255,255,.035);
  }

  /* Hover per kolor */
  .about-areas .area-item:nth-child(2):hover {
    border-color: rgba(34,211,238,.26);
    background:
      radial-gradient(circle at 0% 0%, rgba(34,211,238,.065), transparent 55%),
      rgba(255,255,255,.035);
  }

  .about-areas .area-item:nth-child(3):hover {
    border-color: rgba(158,225,179,.26);
    background:
      radial-gradient(circle at 0% 0%, rgba(158,225,179,.06), transparent 55%),
      rgba(255,255,255,.035);
  }
  
  .area-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(245,200,75,.22);
    border-radius: 14px;
    color: var(--accent);
    background: rgba(245,200,75,.08);
    box-shadow: 0 0 18px rgba(245,200,75,.08);
    font-family: var(--font-mono);
    font-size: .7rem;
    font-weight: 900;
  }
  
  /* Ikona CRM — cyan */
  .about-areas .area-item:nth-child(2) .area-icon {
    color: var(--cyan);
    border-color: var(--cyan-border);
    background: var(--cyan-soft);
    box-shadow: 0 0 18px rgba(34,211,238,.08);
  }

  /* Ikona DEV — green */
  .about-areas .area-item:nth-child(3) .area-icon {
    color: var(--green);
    border-color: rgba(158,225,179,.25);
    background: rgba(158,225,179,.1);
    box-shadow: 0 0 18px rgba(158,225,179,.08);
  }

  .area-item strong {
    display: block;
    margin-bottom: .35rem;
    color: #fff;
    font-size: .95rem;
  }
  
  .area-item p {
    margin: 0;
    color: var(--muted2);
    font-size: .82rem;
    line-height: 1.62;
  }
  
  /* ============================================================
     SKILLS
     ============================================================ */
  .skills-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 2rem;
    align-items: start;
  }
  
  .skills-bars {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
  }
  
  .skill-item {
    position: relative;
    padding: .15rem 0;
  }
  
  .skill-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    margin-bottom: .55rem;
  }
  
  .skill-name {
    min-width: 0;
    color: var(--muted2);
    font-size: .88rem;
    font-weight: 700;
    letter-spacing: .01em;
  }
  
  .skill-val {
    padding: .18rem .58rem;
    border: 1px solid rgba(245,200,75,.28);
    border-radius: 999px;
    color: var(--accent);
    background: linear-gradient(180deg, rgba(245,200,75,.16), rgba(245,200,75,.07));
    box-shadow: 0 0 14px rgba(245,200,75,.06);
    font-family: var(--font-mono);
    font-size: .66rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: .08em;
    white-space: nowrap;
  }
  
  .skill-track {
    position: relative;
    width: 100%;
    height: 9px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
    box-shadow: inset 0 1px 2px rgba(0,0,0,.45);
  }
  
  .skill-fill {
    position: relative;
    width: 0;
    min-width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--c1), var(--c2));
    box-shadow: 0 0 18px color-mix(in srgb, var(--c1) 38%, transparent);
    transition: width 1.15s cubic-bezier(.2,.8,.2,1);
  }
  
  .skill-fill::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.38) 50%, transparent 100%);
    transform: translateX(-110%);
    animation: barShine 2.5s ease-in-out infinite 1.15s;
  }
  
  .skill-fill::before {
    content: "";
    position: absolute;
    right: 3px;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    opacity: 0;
    background: rgba(255,255,255,.86);
    box-shadow: 0 0 8px rgba(255,255,255,.35);
    transform: translateY(-50%);
    transition: opacity .3s .75s;
  }
  
  .skill-fill.animated::before {
    opacity: 1;
  }
  
  .tools-panel {
    padding: 1.3rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--panel-dark);
  }
  
  .chip-cloud,
  .tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
  }
  
  .chip,
  .tag {
    max-width: 100%;
    border-radius: 999px;
    font-weight: 600;
    transition: transform .2s, background .2s, border-color .2s, box-shadow .2s;
  }
  
  .chip {
    padding: .3rem .65rem;
    border: 1px solid rgba(255,255,255,.1);
    color: var(--muted2);
    background: rgba(255,255,255,.05);
    font-size: .73rem;
    cursor: default;
  }
  
  .chip:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,.2);
    background: rgba(255,255,255,.09);
  }
  
  .gold-chip,
  .tag {
    color: #f7dc80;
    border: 1px solid var(--accent-border);
    background: var(--accent-soft);
  }
  
  .gold-chip:hover,
  .tag:hover {
    transform: translateY(-2px);
    border-color: rgba(245,200,75,.38);
    background: rgba(245,200,75,.18);
    box-shadow: 0 0 14px rgba(245,200,75,.1);
  }
  
  /* ============================================================
     SKILL CARDS GRID
     ============================================================ */
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .skill-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .65rem;
    padding: 1.35rem;
    overflow: hidden;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    background: var(--panel-dark);
    transition: transform .28s, border-color .28s, box-shadow .28s;
  }

  .skill-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 0% 0%, rgba(245,200,75,.08), transparent 60%);
    opacity: 0;
    transition: opacity .28s;
  }

  .skill-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245,200,75,.32);
    box-shadow: 0 20px 50px rgba(0,0,0,.28), 0 0 28px rgba(245,200,75,.05);
  }

  .skill-card:hover::before { opacity: 1; }

  .skill-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
  }

  .skill-abbr {
    color: rgba(255,255,255,.14);
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: .12em;
  }

  .skill-level {
    padding: .2rem .58rem;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .1em;
  }

  .badge-gold  { color: var(--accent); border: 1px solid var(--accent-border); background: var(--accent-soft); }
  .badge-cyan  { color: var(--cyan);   border: 1px solid var(--cyan-border);   background: var(--cyan-soft); }
  .badge-green { color: var(--green);  border: 1px solid rgba(158,225,179,.25); background: rgba(158,225,179,.1); }
  .badge-muted { color: var(--muted);  border: 1px solid rgba(255,255,255,.1);  background: rgba(255,255,255,.05); }

  .skill-card h3 {
    color: #fff;
    font-family: var(--font-display);
    font-size: .97rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.02em;
  }

  .skill-card p {
    flex: 1;
    margin: 0;
    color: var(--muted);
    font-size: .8rem;
    line-height: 1.62;
  }

  .skill-dots {
    display: flex;
    gap: .32rem;
    margin-top: .2rem;
  }

  .dot {
    width: 6px;
    height: 6px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.07);
  }

  .dot.on {
    background: var(--accent);
    border-color: rgba(245,200,75,.4);
    box-shadow: 0 0 5px rgba(245,200,75,.5);
  }

  /* ============================================================
     CURRENTLY LEARNING
     ============================================================ */
  .learning-panel {
    position: relative;
    margin-top: 2rem;
    padding: 1.4rem;
    overflow: hidden;
    border: 1px solid rgba(34,211,238,.18);
    border-radius: var(--radius-sm);
    background:
      radial-gradient(circle at 0% 0%, rgba(34,211,238,.08), transparent 55%),
      rgba(14,14,17,.78);
    box-shadow: 0 18px 52px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.035);
  }
  
  .learning-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, transparent, rgba(255,255,255,.035), transparent);
    transform: translateX(-120%);
    animation: learningSweep 6s ease-in-out infinite;
  }
  
  .learning-panel h3,
  .learning-panel > p,
  .learning-grid {
    position: relative;
    z-index: 1;
  }
  
  .learning-panel h3 {
    margin-bottom: .55rem;
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.35rem;
    line-height: 1.1;
    letter-spacing: -.03em;
  }
  
  .learning-panel > p {
    max-width: 780px;
    margin-bottom: 1.2rem;
    color: var(--muted2);
    font-size: .9rem;
    line-height: 1.7;
  }
  
  .learning-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .85rem;
  }
  
  .learning-item {
    min-width: 0;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: .95rem;
    background: rgba(255,255,255,.035);
    transition: transform .25s, border-color .25s, background .25s;
  }
  
  .learning-item:hover {
    transform: translateY(-4px);
    border-color: rgba(34,211,238,.28);
    background: rgba(34,211,238,.055);
  }
  
  .learning-item span {
    display: block;
    margin-bottom: .55rem;
    color: rgba(34,211,238,.75);
    font-family: var(--font-mono);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .12em;
  }
  
  .learning-item strong {
    display: block;
    margin-bottom: .35rem;
    color: #fff;
    font-size: .92rem;
  }
  
  .learning-item p {
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.55;
  }
  
  /* ============================================================
     RESUME / TIMELINE
     ============================================================ */
  .timeline-col {
    display: flex;
    flex-direction: column;
  }
  
  .tl-group-label {
    margin-bottom: 1.1rem;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
  }
  
  .tl-item {
    position: relative;
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 1rem;
    margin-bottom: 1.15rem;
  }
  
  .tl-item:not(:last-of-type)::after {
    content: "";
    position: absolute;
    left: 9px;
    top: 20px;
    bottom: -1.15rem;
    width: 1px;
    background: linear-gradient(to bottom, rgba(245,200,75,.3), transparent);
  }
  
  .tl-dot {
    position: relative;
    z-index: 1;
    width: 18px;
    height: 18px;
    margin-top: 1.1rem;
    flex-shrink: 0;
    border-radius: 50%;
  }
  
  .gold-dot {
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(245,200,75,.15), 0 0 16px rgba(245,200,75,.4);
  }
  
  .cyan-dot {
    background: var(--cyan);
    box-shadow: 0 0 0 4px rgba(34,211,238,.12), 0 0 16px rgba(34,211,238,.35);
  }
  
  .tl-body {
    position: relative;
    overflow: hidden;
    padding: 1.2rem 1.3rem 1.2rem 1.55rem;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    background: var(--panel-dark);
    transition: transform .28s, box-shadow .28s;
  }

  .tl-body::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: 2px 0 0 2px;
    background: linear-gradient(to bottom, var(--accent), rgba(245,200,75,.15));
    transition: background .28s;
  }

  .cyan-glass::before {
    background: linear-gradient(to bottom, var(--cyan), rgba(34,211,238,.12));
  }

  .tl-body:hover {
    transform: translateX(4px);
    box-shadow: 0 12px 36px rgba(0,0,0,.22);
  }

  .tl-body:hover::before {
    background: linear-gradient(to bottom, var(--accent), rgba(245,200,75,.32));
  }

  .cyan-glass:hover::before {
    background: linear-gradient(to bottom, var(--cyan), rgba(34,211,238,.28));
  }
  
  .cyan-glass {
    border-color: var(--cyan-border);
  }
  
  .tl-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .55rem;
  }
  
  .tl-head h3 {
    margin-bottom: .2rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    overflow-wrap: anywhere;
  }
  
  .tl-company {
    display: block;
    color: var(--muted);
    font-size: .8rem;
    font-weight: 600;
  }
  
  .tl-date {
    flex-shrink: 0;
    align-self: flex-start;
    padding: .28rem .65rem;
    border: 1px solid var(--accent-border);
    border-radius: 999px;
    color: var(--accent);
    background: var(--accent-soft);
    font-family: var(--font-mono);
    font-size: .66rem;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: .03em;
  }

  .cyan-glass .tl-date {
    color: var(--cyan);
    border-color: var(--cyan-border);
    background: var(--cyan-soft);
  }
  
  .tl-body p {
    margin-bottom: .75rem;
    color: var(--muted2);
    font-size: .87rem;
    line-height: 1.68;
  }
  
  .tag {
    padding: .25rem .55rem;
    font-size: .72rem;
  }
  
  .cyan-tag {
    color: #67e8f9;
    border-color: var(--cyan-border);
    background: var(--cyan-soft);
  }
  
  .cyan-tag:hover {
    background: rgba(34,211,238,.18);
  }
  
  /* ============================================================
     PROJECTS
     ============================================================ */
  .project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
  }
  
  .proj-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    padding: 1.4rem;
    overflow: hidden;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    background: var(--panel-dark);
    transition: transform .28s, border-color .28s, box-shadow .28s;
  }
  
  .proj-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      radial-gradient(circle at 8% 0%, rgba(245,200,75,.09), transparent 55%),
      radial-gradient(circle at 95% 100%, rgba(34,211,238,.05), transparent 55%);
  }
  
  .proj-card::after {
    content: "";
    position: absolute;
    top: -40%;
    left: -80%;
    width: 40%;
    height: 180%;
    pointer-events: none;
    background: linear-gradient(115deg, transparent, rgba(255,255,255,.07), transparent);
    transform: rotate(8deg);
    transition: left .65s ease;
  }
  
  .proj-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245,200,75,.36);
    box-shadow: 0 24px 60px rgba(0,0,0,.3), 0 0 36px rgba(245,200,75,.06);
  }
  
  .proj-card:hover::after {
    left: 130%;
  }
  
  .featured-card {
    grid-column: span 2;
    border-color: rgba(245,200,75,.26);
    background: linear-gradient(135deg, rgba(20,20,23,.95), rgba(14,14,17,.98));
  }
  
  .proj-meta,
  .proj-card h3,
  .proj-card p,
  .project-details,
  .proj-card .tag-row,
  .proj-card .proj-link {
    position: relative;
    z-index: 1;
  }
  
  .proj-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem;
  }
  
  .proj-num {
    color: rgba(255,255,255,.28);
    font-family: var(--font-mono);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
  }
  
  .proj-type {
    color: var(--muted);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
  }
  
  .proj-status {
    margin-left: auto;
    padding: .22rem .6rem;
    border-radius: 999px;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  
  .s-live {
    color: var(--green);
    border: 1px solid rgba(158,225,179,.25);
    background: rgba(158,225,179,.12);
  }
  
  .s-wip {
    color: var(--cyan);
    border: 1px solid var(--cyan-border);
    background: var(--cyan-soft);
  }
  
  .s-concept {
    color: var(--muted);
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.05);
  }
  
  .proj-card h3 {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    overflow-wrap: anywhere;
  }
  
  .proj-card p {
    color: var(--muted2);
    font-size: .87rem;
    line-height: 1.68;
  }
  
  .project-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    margin: .25rem 0 .15rem;
  }
  
  .compact-details {
    grid-template-columns: 1fr;
  }
  
  .project-details div {
    padding: .85rem;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: .9rem;
    background: rgba(255,255,255,.035);
  }
  
  .project-details span {
    display: block;
    margin-bottom: .35rem;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
  }
  
  .project-details p {
    margin: 0;
    color: var(--muted2);
    font-size: .78rem;
    line-height: 1.55;
  }
  
  .proj-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: auto;
    color: var(--accent);
    font-size: .85rem;
    font-weight: 700;
    transition: gap .2s, color .2s;
  }
  
  .proj-link:hover {
    gap: .65rem;
    color: #ffd76b;
  }
  
  .link-arr {
    transition: transform .2s;
  }
  
  .proj-link:hover .link-arr,
  .github-link:hover .link-arr {
    transform: translateX(3px);
  }
  
  .projects-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding: 1.2rem 1.5rem;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,.025);
  }
  
  .projects-footer .kicker {
    flex-shrink: 0;
  }
  
  .projects-footer p {
    flex: 1;
    min-width: 160px;
    margin: 0;
    color: var(--muted);
    font-size: .85rem;
  }
  
  .github-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: .55rem;
    padding: .5rem 1rem;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 999px;
    color: var(--muted2);
    font-family: var(--font-mono);
    font-size: .8rem;
    font-weight: 700;
    white-space: nowrap;
    transition: color .2s, border-color .2s, background .2s, transform .2s;
  }
  
  .github-link:hover {
    transform: translateY(-2px);
    color: var(--accent);
    border-color: rgba(245,200,75,.3);
    background: rgba(245,200,75,.06);
  }
  
  .github-icon {
    color: inherit;
    font-family: var(--font-mono);
    font-size: .75rem;
    font-weight: 800;
    opacity: .7;
  }
  
  /* ============================================================
     FEATURED CARD LAYOUT
     ============================================================ */
  .featured-card h3 {
    font-size: 1.5rem;
  }

  .featured-body {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    gap: 2rem;
  }

  .featured-left {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .75rem;
  }

  .featured-right {
    flex-shrink: 0;
    display: flex;
    align-items: flex-end;
    padding-bottom: .1rem;
  }

  .proj-link-big {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .72rem 1.25rem;
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-sm);
    color: var(--accent);
    background: var(--accent-soft);
    font-family: var(--font-mono);
    font-size: .82rem;
    font-weight: 700;
    white-space: nowrap;
    transition: background .2s, border-color .2s, transform .2s, gap .2s;
  }

  .proj-link-big:hover {
    background: rgba(245,200,75,.18);
    border-color: rgba(245,200,75,.4);
    transform: translateY(-2px);
    gap: .8rem;
  }

  .proj-link-big .link-arr {
    transition: transform .2s;
  }

  .proj-link-big:hover .link-arr {
    transform: translateX(3px);
  }

  /* Ghost number decoration */
  .proj-ghost-num {
    position: absolute;
    right: .6rem;
    bottom: -.05em;
    color: rgba(255,255,255,.038);
    font-family: var(--font-display);
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.06em;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    transition: color .28s;
  }

  .proj-card:hover .proj-ghost-num {
    color: rgba(245,200,75,.055);
  }

  /* ============================================================
     CONTACT
     ============================================================ */
  .contact-section {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto 4rem;
    padding: 0 1.75rem;
  }
  
  .contact-inner {
    position: relative;
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    max-width: 100%;
    margin: 0 auto;
    padding: clamp(2rem, 4vw, 3rem);
    overflow: hidden;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: 0 24px 72px rgba(0,0,0,.28);
  }

  .contact-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      radial-gradient(circle at 20% 0%,  rgba(245,200,75,.10), transparent 55%),
      radial-gradient(circle at 85% 90%, rgba(34,211,238,.07),  transparent 50%);
  }

  /* ── LEFT COLUMN ── */
  .contact-left {
    flex: 1;
    position: relative;
    z-index: 1;
    min-width: 0;
  }

  .contact-left .kicker { margin-bottom: .5rem; }

  .contact-inner h2 {
    margin-bottom: .65rem;
    background: linear-gradient(135deg, #ffffff 0%, #e8e8ea 40%, rgba(245,200,75,.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.045em;
  }

  .contact-left > p {
    margin-bottom: 1.6rem;
    color: var(--muted2);
    line-height: 1.7;
    font-size: .98rem;
  }

  /* ── TERMINAL WIDGET ── */
  .contact-terminal {
    padding: 1rem 1.25rem;
    border: 1px solid var(--cyan-border);
    border-radius: var(--radius-sm);
    background: rgba(8,8,11,.78);
    font-family: var(--font-mono);
    font-size: .78rem;
    line-height: 2;
    color: var(--muted);
  }

  .contact-terminal > div { white-space: nowrap; }
  .ct-key   { color: var(--accent); }
  .ct-green { color: var(--green); }
  .ct-val   { color: var(--muted2); }

  .ct-cursor {
    display: inline-block;
    color: var(--accent);
    animation: termBlink .85s step-end infinite;
  }

  @keyframes termBlink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
  }

  /* ── RIGHT COLUMN ── */
  .contact-right {
    flex: 0 0 310px;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    position: relative;
    z-index: 1;
  }

  .contact-card-link {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: .9rem 1.1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,.025);
    text-decoration: none;
    color: var(--text);
    transition: border-color .22s, background .22s, transform .22s;
  }

  .contact-card-link:hover {
    border-color: var(--border-gold);
    background: rgba(245,200,75,.07);
    transform: translateX(5px);
  }

  .contact-card-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: .65rem;
    border: 1px solid var(--border-gold);
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 1.15rem;
    transition: background .22s, box-shadow .22s;
  }

  .contact-card-link:hover .contact-card-icon {
    background: rgba(245,200,75,.18);
    box-shadow: 0 0 18px rgba(245,200,75,.22);
  }

  .contact-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .15rem;
    min-width: 0;
  }

  .contact-card-label {
    font-size: .67rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .contact-card-value {
    font-size: .85rem;
    color: var(--muted2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .contact-card-arr {
    flex-shrink: 0;
    color: var(--muted);
    font-size: 1rem;
    transition: color .22s, transform .22s;
  }

  .contact-card-link:hover .contact-card-arr {
    color: var(--accent);
    transform: translateX(3px);
  }
  
  /* ============================================================
     FOOTER
     ============================================================ */
  .footer {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 1.75rem 2.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--muted);
    font-size: .8rem;
  }

  /* gradient separator */
  .footer::before {
    content: "";
    position: absolute;
    top: 0; left: 1.75rem; right: 1.75rem;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent 0%,
      var(--accent-border) 25%,
      var(--cyan-border) 60%,
      transparent 100%
    );
  }

  /* center group */
  .footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .2rem;
    text-align: center;
  }

  .footer-tagline {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: .7rem;
    font-weight: 400;
    letter-spacing: .04em;
    opacity: .8;
  }

  .footer-copy {
    color: var(--muted);
    font-size: .78rem;
  }

  /* right nav */
  .footer-nav {
    display: flex;
    align-items: center;
    gap: 1.2rem;
  }

  .footer-nav a {
    color: var(--muted);
    font-size: .8rem;
    transition: color .2s;
  }

  .footer-nav a:hover {
    color: var(--accent);
  }
  
  .footer-egg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
  }
  
  .egg-icon {
    position: relative;
    display: block;
    width: 20px;
    height: 27px;
    border-radius: 55% 55% 48% 48%;
    background: linear-gradient(135deg, #f5c84b, #ffd76b);
    box-shadow: 0 0 18px rgba(245,200,75,.35);
    transform: rotate(-8deg);
    transition: transform .25s, box-shadow .25s;
  }
  
  .egg-icon::before {
    content: "";
    position: absolute;
    left: 4px;
    right: 4px;
    top: 8px;
    height: 3px;
    border-radius: 999px;
    background: rgba(17,17,17,.35);
    box-shadow: 0 6px 0 rgba(17,17,17,.25), 0 12px 0 rgba(17,17,17,.18);
  }
  
  .footer-egg:hover .egg-icon {
    transform: translateY(-3px) rotate(8deg);
    box-shadow: 0 0 28px rgba(245,200,75,.55);
  }
  
  /* ============================================================
     EASTER EGGS PAGE
     ============================================================ */
  .egg-body {
    overflow-x: hidden;
  }
  
  .egg-page {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 1.75rem;
  }
  
  .egg-hero {
    position: relative;
    min-height: 52vh;
    display: grid;
    align-content: center;
    justify-items: center;
    padding: clamp(2rem, 6vw, 4rem);
    overflow: hidden;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    background:
      radial-gradient(circle at 50% 0%, rgba(245,200,75,.12), transparent 55%),
      radial-gradient(circle at 90% 80%, rgba(34,211,238,.08), transparent 45%),
      var(--panel);
    box-shadow: 0 28px 90px rgba(0,0,0,.35);
    text-align: center;
  }
  
  .egg-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.035), transparent);
    transform: translateX(-120%);
    animation: eggSweep 5s ease-in-out infinite;
  }
  
  .egg-hero h1 {
    margin-bottom: 1.2rem;
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 7rem);
    line-height: .9;
    letter-spacing: -.07em;
    text-shadow: 0 0 36px rgba(245,200,75,.14);
  }
  
  .egg-hero p {
    max-width: 720px;
    color: var(--muted2);
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.75;
  }
  
  .egg-terminal {
    width: min(520px, 100%);
    margin-top: 2rem;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(34,211,238,.22);
    border-radius: var(--radius-sm);
    background: rgba(5,10,12,.7);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
    color: rgba(217,251,255,.82);
    font-family: var(--font-mono);
    font-size: .78rem;
    line-height: 2;
    text-align: left;
  }
  
  .egg-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
    margin-top: 1.5rem;
  }
  
  .egg-card {
    position: relative;
    padding: 1.6rem;
    overflow: hidden;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: 0 18px 52px rgba(0,0,0,.22);
    transition: transform .28s, border-color .28s, box-shadow .28s;
  }
  
  .egg-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      radial-gradient(circle at 0% 0%, rgba(245,200,75,.09), transparent 55%),
      radial-gradient(circle at 100% 100%, rgba(34,211,238,.055), transparent 55%);
  }
  
  .egg-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245,200,75,.38);
    box-shadow: 0 24px 70px rgba(0,0,0,.32), 0 0 30px rgba(245,200,75,.06);
  }
  
  .egg-card-wide {
    grid-column: span 2;
  }
  
  .egg-card-top,
  .egg-card h2,
  .egg-card p,
  .egg-card code {
    position: relative;
    z-index: 1;
  }
  
  .egg-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  
  /* .egg-card-top span is now .egg-num-badge — styled above */

  .egg-card-top small {
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: .68rem;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  
  .egg-card h2 {
    margin-bottom: .75rem;
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.55rem;
    line-height: 1.1;
  }
  
  .egg-card p {
    margin-bottom: 1.1rem;
    color: var(--muted2);
    font-size: .92rem;
    line-height: 1.75;
  }
  
  .egg-card strong {
    color: var(--accent);
  }
  
  .egg-card code {
    display: inline-flex;
    padding: .55rem .85rem;
    border-radius: 999px;
    color: #111;
    background: var(--accent);
    box-shadow: 0 0 24px rgba(245,200,75,.18);
    font-family: var(--font-mono);
    font-size: .82rem;
    font-weight: 800;
  }
  
  .egg-note {
    margin-top: 1.5rem;
    padding: 1.2rem 1.4rem;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: var(--radius-sm);
    color: var(--muted);
    background: rgba(255,255,255,.025);
  }
  
  .egg-note span {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: .7rem;
    letter-spacing: .12em;
    text-transform: uppercase;
  }
  
  .egg-note p {
    margin-top: .35rem;
    font-size: .86rem;
    line-height: 1.7;
  }

  /* ── GHOST NUMBERS ── */
  .egg-ghost-num {
    position: absolute;
    bottom: -.15em;
    right: .2rem;
    z-index: 0;
    color: rgba(245,200,75,.055);
    font-family: var(--font-display);
    font-size: 7rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.06em;
    pointer-events: none;
    user-select: none;
    transition: color .3s;
  }

  .egg-ghost-sym { font-size: 6.5rem; }

  .egg-card:hover .egg-ghost-num {
    color: rgba(245,200,75,.10);
  }

  /* ── NUMBER BADGE (replaces plain span in card-top) ── */
  .egg-num-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 1.55rem;
    padding: 0 .5rem;
    border: 1px solid var(--border-gold);
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent) !important;
    font-family: var(--font-mono);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
  }

  .egg-num-badge--sym {
    font-size: .85rem;
    letter-spacing: 0;
  }

  /* ── TERMINAL HERO ── */
  .et-prompt { color: rgba(255,255,255,.3); }
  .et-cmd    { color: var(--muted2); }
  .et-dot, .et-paren { color: var(--accent); opacity: .7; }
  .et-green  { color: var(--green); }
  .et-gold   { color: var(--accent); }
  .et-cyan   { color: var(--cyan); }

  .et-cursor {
    display: inline-block;
    color: var(--accent);
    animation: termBlink .85s step-end infinite;
  }

  /* ── WIDE CARD LAYOUT ── */
  .egg-wide-body {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    gap: 2.5rem;
    margin-top: .5rem;
  }

  .egg-wide-text {
    flex: 1;
    min-width: 0;
  }

  .egg-wide-text h2 {
    margin-bottom: .75rem;
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.55rem;
    line-height: 1.1;
  }

  .egg-wide-text p {
    color: var(--muted2);
    font-size: .92rem;
    line-height: 1.75;
    margin-bottom: 0;
  }

  .egg-quote {
    flex: 0 0 auto;
    max-width: 240px;
    padding: 1.1rem 1.25rem;
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: rgba(245,200,75,.06);
  }

  .egg-quote p {
    margin: 0;
    color: var(--accent);
    font-family: var(--font-display);
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.6;
  }

  /* card-top z-index fix after ghost num added */
  .egg-card-top { z-index: 1; }
  .egg-card h2  { z-index: 1; }
  .egg-card p   { z-index: 1; }
  .egg-card code { z-index: 1; }

  .egg-intro {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    pointer-events: none;
    background: #050505;
    animation: introHide 1.65s ease forwards;
  }
  
  .intro-egg {
    position: relative;
    width: 72px;
    height: 96px;
    border-radius: 55% 55% 48% 48%;
    background:
      radial-gradient(circle at 35% 25%, rgba(255,255,255,.9) 0 8%, transparent 9%),
      linear-gradient(135deg, #f5c84b, #ffd76b);
    box-shadow: 0 0 28px rgba(245,200,75,.45), 0 0 80px rgba(245,200,75,.18);
    animation: eggBurst 1.45s cubic-bezier(.2,.8,.2,1) forwards;
  }
  
  .intro-egg::before {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    top: 30px;
    height: 7px;
    border-radius: 999px;
    background: rgba(17,17,17,.35);
    box-shadow: 0 16px 0 rgba(17,17,17,.25), 0 32px 0 rgba(17,17,17,.18);
  }
  
  .intro-egg::after {
    content: "";
    position: absolute;
    inset: -40px;
    border-radius: 999px;
    opacity: 0;
    background: radial-gradient(circle, rgba(255,255,255,.95), rgba(245,200,75,.35) 35%, transparent 65%);
    transform: scale(.2);
    animation: eggFlash 1.45s ease forwards;
  }
  
  .egg-page,
  .egg-body .topbar,
  .egg-body .footer {
    animation: pageRevealAfterEgg .9s ease 1.35s both;
  }
  
  /* ============================================================
     HACKED SCREEN
     ============================================================ */
  #hacked-screen {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #000;
    animation: hackedFadeIn .35s ease both;
  }
  
  #hacked-screen.hide {
    animation: hackedFadeOut .7s ease forwards;
  }
  
  .hacked-content {
    position: relative;
    z-index: 3;
    display: grid;
    justify-items: center;
    padding: 2rem;
    text-align: center;
    transform: translateY(-8px);
  }
  
  .hacked-skull {
    width: min(230px, 56vw);
    height: auto;
    image-rendering: pixelated;
    filter: drop-shadow(0 0 10px rgba(34,211,238,.65)) drop-shadow(0 0 24px rgba(245,200,75,.18)) drop-shadow(0 0 36px rgba(255,43,138,.18));
    animation: skullGlitch 1.05s infinite steps(2, end);
  }
  
  .hacked-title {
    position: relative;
    margin-top: 1rem;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: clamp(2.6rem, 8vw, 5.4rem);
    font-weight: 900;
    letter-spacing: .18em;
    text-shadow: 2px 0 var(--cyan), -2px 0 #ff2b8a, 0 0 28px rgba(245,200,75,.36);
    animation: hackedTextGlitch .72s infinite;
  }
  
  .hacked-title::before,
  .hacked-title::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    pointer-events: none;
  }
  
  .hacked-title::before {
    color: var(--cyan);
    opacity: .72;
    clip-path: inset(0 0 52% 0);
    transform: translateX(-3px);
  }
  
  .hacked-title::after {
    color: #ff2b8a;
    opacity: .72;
    clip-path: inset(52% 0 0 0);
    transform: translateX(3px);
  }
  
  .hacked-subtitle {
    margin-top: .35rem;
    color: #d9fbff;
    font-family: var(--font-mono);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-shadow: 0 0 14px rgba(34,211,238,.28);
    text-transform: uppercase;
  }
  
  .hacked-terminal {
    width: min(520px, calc(100vw - 2rem));
    margin-top: 1.1rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(34,211,238,.25);
    border-radius: 14px;
    color: rgba(217,251,255,.82);
    background: rgba(2,8,10,.72);
    box-shadow: 0 0 30px rgba(34,211,238,.08), inset 0 1px 0 rgba(255,255,255,.05);
    font-family: var(--font-mono);
    font-size: .72rem;
    line-height: 1.65;
    text-align: left;
  }
  
  .hacked-terminal div {
    opacity: 0;
    transform: translateY(4px);
    animation: terminalLine .28s ease forwards;
  }
  
  .hacked-terminal div:nth-child(1) { animation-delay: .35s; }
  .hacked-terminal div:nth-child(2) { animation-delay: .75s; }
  .hacked-terminal div:nth-child(3) { animation-delay: 1.15s; }
  .hacked-terminal div:nth-child(4) { animation-delay: 1.55s; }
  .hacked-terminal div:nth-child(5) { animation-delay: 1.95s; }
  
  .hacked-noise {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: .23;
    background: repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0px, rgba(255,255,255,.08) 1px, transparent 1px, transparent 4px);
    mix-blend-mode: screen;
    animation: noiseMove .18s infinite linear;
  }
  
  .hacked-noise::after {
    content: "";
    position: absolute;
    inset: -20%;
    filter: blur(26px);
    background:
      radial-gradient(circle at 30% 40%, rgba(34,211,238,.18), transparent 25%),
      radial-gradient(circle at 70% 55%, rgba(255,43,138,.16), transparent 28%),
      radial-gradient(circle at 50% 70%, rgba(245,200,75,.12), transparent 30%);
  }
  
  .hacked-scanline {
    position: absolute;
    left: 0;
    right: 0;
    top: -20%;
    z-index: 2;
    height: 18%;
    pointer-events: none;
    background: linear-gradient(to bottom, transparent, rgba(34,211,238,.08), rgba(255,255,255,.08), transparent);
    animation: scanlineMove 2.1s linear infinite;
  }
  
  /* ============================================================
     KONAMI DEBUG GAME
     ============================================================ */
  #debug-game-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: radial-gradient(circle at 50% 30%, rgba(245,200,75,.12), transparent 36%), rgba(0,0,0,.82);
    backdrop-filter: blur(14px);
  }
  
  .debug-game-card {
    position: relative;
    width: min(1040px, 96vw);
    overflow: hidden;
    border: 1px solid rgba(245,200,75,.25);
    border-radius: 24px;
    background: radial-gradient(circle at 0% 0%, rgba(245,200,75,.08), transparent 48%), rgba(14,14,17,.96);
    box-shadow: 0 30px 90px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.05);
  }
  
  .debug-game-close {
    position: absolute;
    top: .85rem;
    right: .85rem;
    z-index: 2;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    color: var(--muted2);
    background: rgba(255,255,255,.05);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
  }
  
  .debug-game-close:hover {
    color: var(--accent);
    border-color: var(--accent-border);
  }
  
  .debug-game-head {
    display: grid;
    gap: .2rem;
    padding: 1.3rem 1.4rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  
  .debug-game-head span {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .1em;
  }
  
  .debug-game-head strong {
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.35rem;
    letter-spacing: -.03em;
  }
  
  .debug-game-head small {
    color: var(--muted);
    font-size: .82rem;
  }
  
  #debug-game-canvas {
    display: block;
    width: 100%;
    height: auto;
    max-height: 68vh;
    background: #080808;
  }
  
  .debug-game-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .9rem 1.4rem 1.1rem;
    border-top: 1px solid rgba(255,255,255,.08);
    color: var(--muted2);
    font-family: var(--font-mono);
    font-size: .78rem;
  }
  
  #debug-game-score {
    color: var(--accent);
    font-weight: 800;
  }
  
  #debug-game-status {
    color: var(--cyan);
    font-weight: 800;
  }
  
  /* ============================================================
     REVEAL, SCROLLBAR, RESPONSIVE
     ============================================================ */
  .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1);
    transition-delay: var(--delay, 0s);
  }
  
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  ::-webkit-scrollbar { width: 8px; }
  ::-webkit-scrollbar-track { background: #0b0b0c; }
  ::-webkit-scrollbar-thumb {
    border: 2px solid #0b0b0c;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(245,200,75,.5), rgba(34,211,238,.3));
  }
  
  @media (max-width: 1100px) {
    .page-shell { padding: 1.25rem 1rem 3rem; }
    .app-layout { grid-template-columns: 1fr; }
    .sidebar { align-self: auto; }
    .sidebar-inner { position: relative; top: auto; }
    .skills-layout { grid-template-columns: 1fr; }
    .tools-panel { order: -1; }
  
    .learning-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  
    .contact-inner {
      flex-wrap: wrap;
    }

    .contact-right {
      flex: 1 1 100%;
    }
  }
  
  @media (max-width: 900px) {
    .stats-row {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  
    .stat-divider {
      display: none;
    }
  
    .about-areas,
    .project-details {
      grid-template-columns: 1fr;
    }
  }
  
  @media (max-width: 760px) {
    body {
      padding-bottom: calc(5.5rem + env(safe-area-inset-bottom));
    }
  
    .nav-inner {
      min-height: 56px;
      padding: .8rem 1rem;
    }
  
    .topbar .nav-links {
      display: none;
      position: fixed;
      inset: 56px 0 auto;
      z-index: 199;
      flex-direction: column;
      gap: .35rem;
      padding: 1rem;
      border-bottom: 1px solid var(--border);
      background: rgba(9,9,10,.97);
    }
  
    .nav-links.open { display: flex; }
    .nav-links a { border-radius: .65rem; padding: .65rem 1rem; font-size: .9rem; }
    .hamburger { display: flex; }
  
    .page-shell {
      padding: 1rem .85rem 2.4rem;
    }
  
    .app-layout {
      gap: 1rem;
    }
  
    .sidebar-inner,
    .section,
    .contact-inner {
      border-radius: 1.15rem;
    }

    .sidebar-inner {
      padding: 1.45rem 1rem 1.2rem;
    }
  
    .section {
      padding: 1.35rem 1rem;
      margin-bottom: 1rem;
    }
  
    .section-header {
      margin-bottom: 1.15rem;
    }
  
    .section-header h2 {
      font-size: clamp(2.05rem, 11vw, 3.3rem);
      line-height: .95;
      letter-spacing: -.065em;
    }
  
    #resume .section-header h2 {
      font-size: clamp(2rem, 10vw, 3rem);
    }
  
    .kicker {
      font-size: .68rem;
    }
  
    .about-lead {
      padding: 1.05rem;
    }
  
    .about-lead > strong {
      font-size: clamp(1.45rem, 9vw, 2.1rem);
    }
  
    .about-lead > p {
      font-size: .95rem;
      line-height: 1.65;
    }
  
    .stats-row {
      grid-template-columns: 1fr;
      padding: 1rem;
    }
  
    .stat-item {
      padding: .25rem 0;
    }
  
    .area-item {
      grid-template-columns: 1fr;
      gap: .75rem;
    }
  
    .area-icon {
      width: 42px;
      height: 42px;
    }
  
    .skills-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .skills-layout,
    .project-grid,
    .learning-grid,
    .egg-grid {
      grid-template-columns: 1fr;
    }
  
    .featured-card,
    .egg-card-wide {
      grid-column: span 1;
    }
  
    .featured-body {
      flex-direction: column;
      align-items: flex-start;
      gap: 1.1rem;
    }

    .proj-ghost-num {
      font-size: 4rem;
    }

    .tools-panel,
    .proj-card {
      padding: 1rem;
    }

    .tl-body {
      padding: 1rem 1rem 1rem 1.35rem;
    }
  
    .chip-cloud,
    .tag-row {
      gap: .4rem;
    }
  
    .chip,
    .tag {
      font-size: .68rem;
    }
  
    .skill-meta {
      grid-template-columns: 1fr;
      gap: .35rem;
      align-items: start;
    }
  
    .skill-val {
      justify-self: start;
    }
  
    .tl-head {
      flex-direction: column;
    }
  
    .tl-item {
      grid-template-columns: 16px minmax(0, 1fr);
      gap: .75rem;
    }
  
    .tl-item:not(:last-of-type)::after {
      left: 7px;
    }
  
    .tl-dot {
      width: 15px;
      height: 15px;
    }
  
    .projects-footer {
      flex-direction: column;
      align-items: flex-start;
      gap: .75rem;
    }
  
    .contact-section {
      padding: 0 .85rem;
      margin-bottom: 2.2rem;
    }
  
    .contact-inner {
      padding: 1.6rem 1rem 1.8rem;
      flex-direction: column;
      gap: 1.5rem;
    }

    .contact-right {
      flex: unset;
      width: 100%;
    }

    .contact-inner h2 {
      font-size: clamp(2.1rem, 12vw, 3.2rem);
    }
  
    .footer {
      justify-content: center;
      padding: 1rem .9rem calc(6.5rem + env(safe-area-inset-bottom));
      text-align: center;
    }
  
    .footer {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: .6rem;
    }

    .footer::before {
      left: 1rem;
      right: 1rem;
    }

    .footer-nav {
      flex-wrap: wrap;
      justify-content: center;
      gap: .65rem .9rem;
    }
  
    .egg-page {
      padding: 2rem 1rem 3rem;
    }
  
    .egg-hero {
      min-height: auto;
      padding: 3rem 1.2rem;
    }

    .egg-terminal {
      font-size: .68rem;
    }

    .egg-wide-body {
      flex-direction: column;
      gap: 1.25rem;
    }

    .egg-quote {
      max-width: 100%;
      width: 100%;
    }
  
    .debug-game-head strong {
      font-size: 1.1rem;
    }
  
    .debug-game-head small {
      padding-right: 2rem;
      font-size: .72rem;
    }
  
    .debug-game-footer {
      flex-direction: column;
      gap: .25rem;
    }
  
    #egg-banner {
      max-width: calc(100vw - 1.5rem) !important;
      white-space: normal !important;
      text-align: center;
      bottom: calc(1rem + env(safe-area-inset-bottom)) !important;
    }
  }
  
  @media (max-width: 430px) {
    .skills-grid {
      grid-template-columns: 1fr;
    }

    .page-shell,
    .contact-section {
      padding-left: .65rem;
      padding-right: .65rem;
    }
  
    .section,
    .contact-inner,
    .sidebar-inner {
      border-radius: 1rem;
    }
  
    .section-header h2,
    .contact-inner h2 {
      font-size: clamp(1.95rem, 10.5vw, 2.8rem);
    }
  
    .profile-name {
      font-size: 1.95rem;
    }
  
    .side-item {
      grid-template-columns: 34px minmax(0, 1fr);
    }
  
    .side-info a,
    .side-info span,
    .copy-email {
      font-size: .9rem;
    }
  }
  
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation: none !important;
      transition: none !important;
    }
  
    .reveal {
      opacity: 1;
      transform: none;
    }
  
    .skill-fill {
      transition: none;
    }
  }
  
  /* ============================================================
     SCROLL PROGRESS BAR
     ============================================================ */
  #scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--cyan));
    box-shadow: 0 0 8px rgba(245,200,75,.4), 0 0 20px rgba(34,211,238,.2);
    pointer-events: none;
  }

  /* ============================================================
     CUSTOM CURSOR
     ============================================================ */
  .has-custom-cursor,
  .has-custom-cursor * {
    cursor: none !important;
  }

  #cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    pointer-events: none;
    z-index: 1000001;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 6px rgba(245,200,75,.8);
    transition: opacity 0.2s, width 0.2s, height 0.2s;
  }

  #cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(245,200,75,.38);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1000000;
    transform: translate(-50%, -50%);
    transition: width 0.22s ease, height 0.22s ease, border-color 0.22s ease, opacity 0.3s;
  }

  #cursor-dot.cursor-hover { opacity: 0; }

  #cursor-ring.cursor-hover {
    width: 52px;
    height: 52px;
    border-color: rgba(245,200,75,.7);
  }

  /* ============================================================
     BACKGROUND ORBS
     ============================================================ */
  .bg-orbs {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
  }

  .bg-orb {
    position: absolute;
    border-radius: 50%;
    will-change: transform;
  }

  .orb-1 {
    width: min(55vw, 700px);
    height: min(55vw, 700px);
    top: -15%;
    left: -12%;
    background: radial-gradient(circle at center, rgba(245,200,75,.10) 0%, transparent 70%);
    filter: blur(90px);
    animation: bgOrb1 28s ease-in-out infinite;
  }

  .orb-2 {
    width: min(45vw, 580px);
    height: min(45vw, 580px);
    top: 15%;
    right: -10%;
    background: radial-gradient(circle at center, rgba(34,211,238,.07) 0%, transparent 70%);
    filter: blur(80px);
    animation: bgOrb2 35s ease-in-out infinite;
  }

  .orb-3 {
    width: min(40vw, 500px);
    height: min(40vw, 500px);
    bottom: 5%;
    left: 15%;
    background: radial-gradient(circle at center, rgba(158,225,179,.055) 0%, transparent 70%);
    filter: blur(75px);
    animation: bgOrb3 30s ease-in-out infinite;
  }

  .orb-4 {
    width: min(35vw, 420px);
    height: min(35vw, 420px);
    bottom: -8%;
    right: 8%;
    background: radial-gradient(circle at center, rgba(245,200,75,.065) 0%, transparent 70%);
    filter: blur(85px);
    animation: bgOrb4 38s ease-in-out infinite;
  }

  /* ============================================================
     KEYFRAMES
     ============================================================ */
  @keyframes bgOrb1 {
    0%   { transform: translate(0, 0)      scale(1); }
    25%  { transform: translate(60px, 45px)  scale(1.05); }
    50%  { transform: translate(25px, 85px)  scale(.96); }
    75%  { transform: translate(-45px, 35px) scale(1.07); }
    100% { transform: translate(0, 0)      scale(1); }
  }

  @keyframes bgOrb2 {
    0%   { transform: translate(0, 0)        scale(1); }
    30%  { transform: translate(-55px, 65px)  scale(1.04); }
    60%  { transform: translate(35px, -40px)  scale(.95); }
    100% { transform: translate(0, 0)        scale(1); }
  }

  @keyframes bgOrb3 {
    0%   { transform: translate(0, 0)       scale(1); }
    35%  { transform: translate(70px, -50px) scale(1.06); }
    70%  { transform: translate(-30px, 40px) scale(.93); }
    100% { transform: translate(0, 0)       scale(1); }
  }

  @keyframes bgOrb4 {
    0%   { transform: translate(0, 0)        scale(1); }
    20%  { transform: translate(-40px, -60px) scale(1.08); }
    55%  { transform: translate(50px, 30px)   scale(.97); }
    80%  { transform: translate(20px, -35px)  scale(1.04); }
    100% { transform: translate(0, 0)        scale(1); }
  }

  @keyframes ambientFloat {
    from { transform: translate(-1.5%,-1%) scale(1); }
    to { transform: translate(1.5%, 1%) scale(1.04); }
  }
  
  @keyframes navSlide {
    from { opacity: 0; transform: translateY(-14px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  @keyframes sidebarIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
  }
  
  @keyframes avatarShimmer {
    0% { transform: translateX(-160%) skewX(-15deg); opacity: 0; }
    8% { opacity: 1; }
    42% { transform: translateX(160%) skewX(-15deg); opacity: 1; }
    43%, 100% { transform: translateX(160%) skewX(-15deg); opacity: 0; }
  }
  
  @keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(158,225,179,.18); }
    50% { box-shadow: 0 0 0 6px rgba(158,225,179,.28); }
  }
  
  @keyframes barShine {
    0% { transform: translateX(-110%); opacity: 0; }
    10% { opacity: 1; }
    55%, 100% { transform: translateX(110%); opacity: 0; }
  }
  
  @keyframes learningSweep {
    0%, 55% { transform: translateX(-120%); opacity: 0; }
    65% { opacity: 1; }
    100% { transform: translateX(120%); opacity: 0; }
  }
  
  @keyframes aboutSweep {
    0%, 58% { transform: translateX(-120%); opacity: 0; }
    68% { opacity: 1; }
    100% { transform: translateX(120%); opacity: 0; }
  }
  
  @keyframes eggSweep {
    0%, 55% { transform: translateX(-120%); opacity: 0; }
    65% { opacity: 1; }
    100% { transform: translateX(120%); opacity: 0; }
  }
  
  @keyframes orbSpin { to { transform: rotate(360deg); } }
  @keyframes orbSpinReverse { to { transform: rotate(-360deg); } }
  
  @keyframes orbBreath {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.08) rotate(2deg); }
  }
  
  @keyframes sparkOrbit1 {
    from { transform: rotate(0deg) translateX(96px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(96px) rotate(-360deg); }
  }
  
  @keyframes sparkOrbit2 {
    from { transform: rotate(130deg) translateX(72px) rotate(-130deg); }
    to { transform: rotate(490deg) translateX(72px) rotate(-490deg); }
  }
  
  @keyframes sparkOrbit3 {
    from { transform: rotate(260deg) translateX(52px) rotate(-260deg); }
    to { transform: rotate(620deg) translateX(52px) rotate(-620deg); }
  }
  
  @keyframes eggBurst {
    0% { transform: scale(.4) rotate(-12deg); opacity: 0; }
    25% { transform: scale(1) rotate(5deg); opacity: 1; }
    48% { transform: scale(1.08) rotate(-4deg); }
    58% { transform: scale(.92) rotate(2deg); }
    72% { transform: scale(1.9); opacity: 1; }
    82% { transform: scale(8); opacity: 0; }
    100% { transform: scale(12); opacity: 0; }
  }
  
  @keyframes eggFlash {
    0%, 45% { opacity: 0; transform: scale(.2); }
    65% { opacity: .8; transform: scale(1.2); }
    78% { opacity: 1; transform: scale(18); }
    100% { opacity: 0; transform: scale(28); }
  }
  
  @keyframes introHide {
    0%, 82% { opacity: 1; visibility: visible; }
    100% { opacity: 0; visibility: hidden; }
  }
  
  @keyframes pageRevealAfterEgg {
    from { opacity: 0; transform: translateY(14px); filter: blur(8px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
  }
  
  @keyframes hackedFadeIn { from { opacity: 0; } to { opacity: 1; } }
  @keyframes hackedFadeOut { to { opacity: 0; } }
  @keyframes noiseMove { from { transform: translateY(0); } to { transform: translateY(4px); } }
  @keyframes scanlineMove { from { top: -20%; } to { top: 120%; } }
  @keyframes terminalLine { to { opacity: 1; transform: translateY(0); } }
  
  @keyframes skullGlitch {
    0%, 100% { transform: translate(0, 0) scale(1); }
    18% { transform: translate(-2px, 1px) scale(1.01); }
    36% { transform: translate(2px, -1px) scale(.995); }
    54% { transform: translate(-1px, -2px) scale(1.008); }
    72% { transform: translate(1px, 2px) scale(1); }
  }
  
  @keyframes hackedTextGlitch {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-2px); }
    40% { transform: translateX(2px); }
    60% { transform: translateX(-1px); }
    80% { transform: translateX(1px); }
  }
  
