:root {
  --sky: #cce8f7;
  --sky2: #e8f5fd;
  --sand: #fdf6e3;
  --white: #ffffff;
  --ink: #1a1a2e;
  --blue: #2563eb;
  --blue-light: #dbeafe;
  --pink: #f472b6;
  --pink-light: #fce7f3;
  --yellow: #fbbf24;
  --yellow-light: #fef3c7;
  --green: #22c55e;
  --green-light: #dcfce7;
  --orange: #f97316;
  --orange-light: #ffedd5;
  --purple: #a855f7;
  --purple-light: #f3e8ff;
  --outline: 2.5px solid var(--ink);
  --shadow: 4px 4px 0px var(--ink);
  --shadow-lg: 6px 6px 0px var(--ink);
}
 
*, *::before, *::after { box-sizing: border-box; margin:0; padding:0; }
html { scroll-behavior: smooth; }
 
body {
  font-family: 'Nunito', sans-serif;
  background: var(--sand);
  color: var(--ink);
  overflow-x: hidden;
}
 
/* ── NAV ── */
nav {
  position: fixed; top:0; left:0; right:0; z-index:200;
  background: var(--white);
  border-bottom: var(--outline);
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 40px;
}
.nav-name {
  font-family: 'Lilita One', cursive;
  font-size: 1.15rem; color: var(--ink);
  letter-spacing: 0.02em;
}
.nav-name span { color: var(--blue); }
nav ul { display: flex; gap: 6px; list-style: none; }
nav ul li a {
  text-decoration: none;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 6px 14px; border-radius: 20px;
  color: var(--ink); transition: all 0.15s;
  border: 2px solid transparent;
}
nav ul li a:hover {
  background: var(--yellow); border-color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}
.nav-visit {
  background: var(--blue); color: white !important;
  border: 2px solid var(--ink) !important;
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s !important;
}
.nav-visit:hover {
  transform: translate(-2px,-2px);
  box-shadow: 6px 6px 0 var(--ink) !important;
  background: var(--blue) !important;
}
 
/* ── HERO ── */
#hero {
  margin-top: 57px;
  background: linear-gradient(180deg, var(--sky) 0%, var(--sky2) 60%, var(--sand) 100%);
  border-bottom: var(--outline);
  position: relative; overflow: hidden;
  min-height: 520px;
  padding: 40px 48px 0;
  display: flex; align-items: flex-end; gap: 0;
}
.hero-text-block {
  position: relative; z-index: 3;
  padding-bottom: 48px; flex: 1;
}
.hero-year-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--yellow); border: var(--outline);
  box-shadow: var(--shadow);
  padding: 4px 14px; border-radius: 20px;
  font-family: 'Caveat', cursive; font-size: 1rem; font-weight: 700;
  margin-bottom: 16px;
}
.hero-big-title {
  font-family: 'Lilita One', cursive;
  font-size: clamp(72px, 11vw, 140px);
  line-height: 0.88; color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  position: relative;
}
.hero-big-title .stroke-word {
  -webkit-text-stroke: 3px var(--ink);
  color: transparent;
}
.hero-sub-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: var(--outline);
  box-shadow: var(--shadow);
  padding: 6px 18px; border-radius: 4px;
  font-family: 'Caveat', cursive; font-size: 1.1rem; font-weight: 500;
  margin-top: 8px;
}
/* Floating deco birds / stars */
.deco { position: absolute; pointer-events: none; user-select: none; }
.deco-star {
  width: 32px; height: 32px;
  background: var(--yellow); border: var(--outline);
  clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
}
.deco-circle {
  border-radius: 50%;
  border: var(--outline);
}
.deco-pill {
  border-radius: 40px;
  border: var(--outline);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Caveat', cursive; font-weight: 700;
}
 
/* Hero illustration — CSS avatar */
.hero-illo {
  position: relative; z-index: 4;
  width: 320px; min-width: 220px;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 0;
}
.avatar-scene {
  position: relative; width: 260px; height: 340px;
}
/* Desk */
.desk {
  position: absolute; bottom: 0; left: -20px; right: -20px;
  height: 70px;
  background: #c8a46b;
  border: var(--outline);
  border-radius: 8px 8px 0 0;
  box-shadow: 0 -4px 0 #a07840;
}
.desk::before {
  content: '';
  position: absolute; bottom: 0; left: 20px;
  width: 30px; height: 14px;
  background: #a07840; border-radius: 0 0 4px 4px;
  border: var(--outline);
}
.desk::after {
  content: '';
  position: absolute; bottom: 0; right: 24px;
  width: 30px; height: 14px;
  background: #a07840; border-radius: 0 0 4px 4px;
  border: var(--outline);
}
/* Monitor */
.monitor {
  position: absolute; bottom: 62px; left: 50%; transform: translateX(-50%);
  width: 160px; height: 110px;
  background: var(--ink); border: var(--outline); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.monitor-screen {
  width: 140px; height: 90px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1a1a2e 100%);
  border-radius: 4px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start;
  padding: 6px;
}
.code-line {
  height: 5px; border-radius: 3px; margin-bottom: 4px;
  animation: blink-in 2s infinite alternate;
}
.code-line:nth-child(1) { width: 80%; background: #60a5fa; }
.code-line:nth-child(2) { width: 55%; background: #34d399; margin-left: 10px; }
.code-line:nth-child(3) { width: 70%; background: #f472b6; margin-left: 10px; }
.code-line:nth-child(4) { width: 40%; background: #fbbf24; margin-left: 20px; }
.code-line:nth-child(5) { width: 65%; background: #60a5fa; margin-left: 10px; }
.code-line:nth-child(6) { width: 30%; background: #34d399; }
@keyframes blink-in { 0%{opacity:0.4} 100%{opacity:1} }
.cursor-blink {
  width: 6px; height: 10px; background: var(--yellow);
  display: inline-block; animation: cursor-flash 1s steps(1) infinite;
  margin-top: 2px;
}
@keyframes cursor-flash { 50%{opacity:0} }
.monitor-stand {
  position: absolute; bottom: 48px; left: 50%; transform: translateX(-50%);
  width: 12px; height: 16px; background: #555; border: var(--outline);
}
.monitor-base {
  position: absolute; bottom: 44px; left: 50%; transform: translateX(-50%);
  width: 40px; height: 6px; background: #555; border: var(--outline); border-radius: 3px;
}
/* Person */
.person {
  position: absolute; bottom: 60px; left: 50%; transform: translateX(-55%);
}
.p-body {
  width: 52px; height: 58px;
  background: #3b82f6; border: var(--outline); border-radius: 8px 8px 4px 4px;
  position: relative;
}
.p-head {
  width: 44px; height: 44px; border-radius: 50%;
  background: #fde8c8; border: var(--outline);
  position: absolute; top: -40px; left: 4px;
  display: flex; align-items: center; justify-content: center;
  overflow: visible;
}
.p-hair {
  position: absolute; top: -8px; left: 0; right: 0;
  height: 22px; background: #1a1a1a;
  border-radius: 40px 40px 0 0; border: var(--outline);
  border-bottom: none;
}
.p-glasses {
  position: absolute; top: 14px; left: 4px;
  display: flex; gap: 3px;
}
.p-glass { width: 12px; height: 9px; border: 2px solid #333; border-radius: 3px; background: rgba(100,180,255,0.25); }
.p-smile {
  position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%);
  width: 14px; height: 7px; border-bottom: 2.5px solid #c47a3a;
  border-radius: 0 0 10px 10px;
}
.p-arm-l {
  position: absolute; left: -16px; top: 6px;
  width: 18px; height: 10px;
  background: #3b82f6; border: var(--outline); border-radius: 3px;
  transform: rotate(20deg);
}
.p-arm-r {
  position: absolute; right: -18px; top: 4px;
  width: 20px; height: 10px;
  background: #3b82f6; border: var(--outline); border-radius: 3px;
  transform: rotate(-25deg);
}
/* Floating bubbles */
.float-badge {
  position: absolute;
  background: var(--white); border: var(--outline);
  box-shadow: var(--shadow);
  padding: 5px 12px; border-radius: 20px;
  font-family: 'Caveat', cursive; font-size: 0.9rem; font-weight: 700;
  white-space: nowrap;
  animation: float 3s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.fb1 { top: 20px; right: -10px; background: var(--yellow-light); animation-delay: 0s; }
.fb2 { top: 80px; left: -30px; background: var(--pink-light); animation-delay: 0.8s; }
.fb3 { top: 150px; right: -20px; background: var(--green-light); animation-delay: 1.4s; }
 
/* hero right info */
.hero-info-strip {
  position: absolute; right: 40px; top: 40px;
  display: flex; flex-direction: column; gap: 10px;
  z-index: 5;
}
.info-pill {
  background: var(--white); border: var(--outline);
  box-shadow: var(--shadow);
  padding: 6px 14px; border-radius: 20px;
  font-size: 0.78rem; font-weight: 700;
  display: flex; align-items: center; gap: 6px;
}
 
/* ── MAIN LAYOUT ── */
main {
  max-width: 1040px; margin: 0 auto;
  padding: 48px 24px 80px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: auto;
  gap: 24px;
}
 
/* ── CARDS ── */
.card {
  background: var(--white);
  border: var(--outline);
  box-shadow: var(--shadow-lg);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.card-label {
  font-family: 'Caveat', cursive;
  font-size: 1.05rem; font-weight: 700;
  color: var(--blue); margin-bottom: 14px;
  display: flex; align-items: center; gap: 6px;
}
.card-label::before { content: '✦'; font-size: 0.9rem; }
 
/* ── ABOUT ── */
.card-about {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  background: var(--white);
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start;
}
.about-name {
  font-family: 'Lilita One', cursive;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1; color: var(--ink);
  margin-bottom: 2px;
}
.about-aka {
  font-family: 'Caveat', cursive;
  font-size: 1rem; color: var(--blue); margin-bottom: 12px;
  font-weight: 700;
}
.hi-text {
  font-size: 0.95rem; line-height: 1.75; color: #444;
}
.hi-text strong { color: var(--ink); }
.avatar-round {
  width: 110px; height: 110px; min-width: 110px;
  border-radius: 50%; border: var(--outline);
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.8rem; overflow: hidden; position: relative;
}
.avatar-round-inner {
  width: 100%; height: 100%; display: flex; align-items: flex-end; justify-content: center;
  background: linear-gradient(180deg, #93c5fd 0%, #3b82f6 100%);
  position: relative; overflow: hidden;
}
/* mini person in avatar */
.av-head {
  width: 38px; height: 38px; border-radius: 50%;
  background: #fde8c8; border: 2px solid var(--ink);
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
}
.av-hair {
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 38px; height: 20px; background: #1a1a1a;
  border-radius: 40px 40px 0 0; border: 2px solid var(--ink); border-bottom: none;
}
.av-glasses {
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 2px;
}
.av-glass { width: 10px; height: 8px; border: 1.5px solid #333; border-radius: 2px; background: rgba(150,200,255,0.35); }
.av-body {
  width: 52px; height: 44px;
  background: #2563eb; border: 2px solid var(--ink);
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  border-radius: 6px 6px 0 0;
}
 
/* ── CONTACT ── */
.card-contact {
  grid-column: 2 / 3; grid-row: 1 / 2;
  background: var(--blue-light);
}
.contact-row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0; border-bottom: 1.5px dashed rgba(0,0,0,0.12);
  font-size: 0.88rem; font-weight: 600; color: var(--ink);
}
.contact-row:last-child { border-bottom: none; }
.contact-icon {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--white); border: var(--outline);
  display: flex; align-items: center; justify-content: center; font-size: 0.85rem;
  flex-shrink: 0;
}
 
/* ── EDUCATION ── */
.card-edu { grid-column: 1 / 2; grid-row: 2 / 3; background: var(--yellow-light); }
.edu-row {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 12px 0; border-bottom: 1.5px dashed rgba(0,0,0,0.12);
}
.edu-row:last-child { border-bottom: none; }
.edu-dot {
  width: 10px; height: 10px; min-width: 10px; border-radius: 50%;
  background: var(--orange); border: 2px solid var(--ink); margin-top: 5px;
}
.edu-title { font-weight: 800; font-size: 0.92rem; margin-bottom: 2px; }
.edu-sub { font-size: 0.8rem; color: #666; }
 
/* ── SKILLS ── */
.card-skills { grid-column: 2 / 3; grid-row: 2 / 3; background: var(--pink-light); }
.skill-item { margin-bottom: 12px; }
.skill-name { font-size: 0.82rem; font-weight: 800; margin-bottom: 5px; display: flex; justify-content: space-between; }
.skill-bar-bg {
  height: 10px; background: rgba(0,0,0,0.08);
  border: 2px solid var(--ink); border-radius: 20px; overflow: hidden;
}
.skill-bar-fill {
  height: 100%; border-radius: 20px;
  transition: width 1.5s cubic-bezier(.4,0,.2,1);
}
 
/* ── PROJECTS (full width) ── */
.card-projects { grid-column: 1 / 3; grid-row: 3 / 4; background: var(--green-light); padding-bottom: 20px; }
.projects-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 4px; }
.proj-card {
  background: var(--white); border: var(--outline); box-shadow: var(--shadow);
  border-radius: 12px; overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.proj-card:hover { transform: translate(-3px,-3px); box-shadow: var(--shadow-lg); }
.proj-banner {
  height: 90px; display: flex; align-items: center; justify-content: center;
  border-bottom: var(--outline); font-size: 2.2rem;
  position: relative; overflow: hidden;
}
.proj-banner-num {
  position: absolute; right: 10px; bottom: 4px;
  font-family: 'Lilita One', cursive;
  font-size: 3rem; opacity: 0.1; color: var(--ink);
}
.proj-body { padding: 14px; }
.proj-title { font-family: 'Lilita One', cursive; font-size: 1rem; margin-bottom: 6px; line-height: 1.2; }
.proj-desc { font-size: 0.78rem; color: #555; line-height: 1.6; margin-bottom: 10px; }
.proj-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.proj-tag {
  font-size: 0.7rem; font-weight: 700;
  padding: 3px 9px; border-radius: 20px;
  border: 1.5px solid var(--ink);
}
 
/* ── SOFTWARE / TECH STACK ── */
.card-tech { grid-column: 1 / 2; grid-row: 4 / 5; background: var(--purple-light); }
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 4px; }
.tech-icon-box {
  background: var(--white); border: var(--outline); box-shadow: var(--shadow);
  border-radius: 10px; padding: 10px 8px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 1.4rem; cursor: default;
  transition: transform 0.2s;
}
.tech-icon-box:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow-lg); }
.tech-icon-label { font-size: 0.65rem; font-weight: 800; text-align: center; }
 
/* ── ACHIEVEMENTS ── */
.card-achievements { grid-column: 2 / 3; grid-row: 4 / 5; background: var(--orange-light); }
.ach-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0; border-bottom: 1.5px dashed rgba(0,0,0,0.1);
}
.ach-item:last-child { border-bottom: none; }
.ach-badge {
  width: 34px; height: 34px; min-width: 34px; border-radius: 50%;
  background: var(--white); border: var(--outline);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.ach-text { font-size: 0.83rem; line-height: 1.6; color: #444; }
.ach-text strong { color: var(--ink); display: block; font-size: 0.88rem; }
 
/* ── FOCUS ── */
.card-focus { grid-column: 1 / 3; grid-row: 5 / 6; background: var(--ink); color: white; }
.card-focus .card-label { color: var(--yellow); }
.focus-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.focus-pill {
  background: transparent; border: 2px solid rgba(255,255,255,0.25);
  color: white; padding: 10px 22px; border-radius: 40px;
  font-family: 'Caveat', cursive; font-size: 1.05rem; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
  transition: background 0.2s, border-color 0.2s;
}
.focus-pill:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
 
/* ── VISIT STRIP ── */
.visit-strip {
  grid-column: 1 / 3;
  display: flex; align-items: center; gap: 20px;
  padding: 0;
}
.visit-arrow {
  font-family: 'Lilita One', cursive;
  font-size: 1.6rem; color: var(--blue);
  display: flex; align-items: center; gap: 10px;
}
.visit-arrow::before { content: '↗'; font-size: 2rem; }
.visit-link {
  font-family: 'Lilita One', cursive;
  font-size: clamp(28px, 4vw, 48px);
  color: var(--ink); text-decoration: none;
  border-bottom: 4px solid var(--blue);
  padding-bottom: 2px;
  transition: color 0.2s;
}
.visit-link:hover { color: var(--blue); }
 
/* ── REVEAL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.up { opacity: 1; transform: translateY(0); }
.d1{transition-delay:.05s} .d2{transition-delay:.15s} .d3{transition-delay:.25s}
.d4{transition-delay:.35s} .d5{transition-delay:.45s} .d6{transition-delay:.55s}
 
/* ── FOOTER ── */
footer {
  background: var(--white); border-top: var(--outline);
  text-align: center; padding: 18px;
  font-size: 0.78rem; color: #888; font-weight: 600;
}
footer span { color: var(--blue); }
 
/* Responsive */
@media (max-width: 760px) {
  #hero { flex-direction: column; align-items: flex-start; padding: 24px 24px 0; min-height: auto; }
  .hero-illo { width: 200px; }
  .hero-info-strip { position: static; flex-direction: row; flex-wrap: wrap; margin-bottom: 16px; }
  main { grid-template-columns: 1fr; padding: 24px 16px 60px; }
  .card-about, .card-contact, .card-edu, .card-skills,
  .card-projects, .card-tech, .card-achievements, .card-focus,
  .visit-strip { grid-column: 1 / 2; }
  .projects-row { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(4,1fr); }
  nav ul { display: none; }
}


/* SOCIAL LINKS */

.social-links {
  margin-top: 15px;
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 18px;
  border: var(--outline);
  box-shadow: var(--shadow);
  transition: all 0.2s ease;
  color: white;
}

/* Platform Colors */
.github { background: #333; }
.linkedin { background: #0077b5; }
.instagram { background: linear-gradient(45deg,#f9ce34,#ee2a7b,#6228d7); }

/* Hover Effect */
.social-btn:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-lg);
}


/* profile picture  */

/* Container for the image */
/* Vertical Column Container */
/* 1. The Vertical Container */
.profile-vertical-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-width: 180px;
  /* This ensures the hover detection area is solid */
  padding: 10px;
  cursor: default;
}

/* 2. The Profile Frame Hover */
.profile-frame {
  position: relative;
  width: 160px;
  height: 160px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 5;
}

/* When you hover over the WHOLE column, the picture pops */
.profile-vertical-column:hover .profile-frame {
  transform: scale(1.05) translateY(-5px);
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  border: 3px solid #fff;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

/* 3. The Info Items Hover */
.profile-info-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.info-item {
  background: rgba(255, 255, 255, 0.8);
  padding: 10px 15px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 800;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(0,0,0,0.05);
  /* CRITICAL: Transition must be on the base class */
  transition: all 0.3s ease;
  transform: translateX(0);
}

/* TRIGGER: When the column is hovered, move the items */
.profile-vertical-column:hover .info-item {
  background: #ffffff;
  box-shadow: 5px 5px 15px rgba(0,0,0,0.05);
  border-color: var(--blue);
  color: var(--blue);
}

/* Staggered slide-in effect */
.profile-vertical-column:hover .info-item:nth-child(1) { transform: translateX(8px); transition-delay: 0.05s; }
.profile-vertical-column:hover .info-item:nth-child(2) { transform: translateX(12px); transition-delay: 0.1s; }
.profile-vertical-column:hover .info-item:nth-child(3) { transform: translateX(16px); transition-delay: 0.15s; }