:root {
  --bg: #fffdf5;
  --dark: #121212;
  --text-dark: #121212;
  --tint: #f5f5f5;
  --yellow: #fbff48;
  --neo-pink: #ff70a6;
  --neo-blue: #3b82f6;
  --neo-green: #33ff57;
  --neo-orange: #ff9f1c;
  --border: 3px solid #121212;
  --shadow: 6px 6px 0 #121212;
  --shadow-hover: 10px 10px 0 #121212;
  --w: 1140px;
  --tr: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --mono: "JetBrains Mono", monospace;
  --head: "Space Grotesk", sans-serif;
  --neo-yellow-bright: #fff01f;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--head);
  background-color: var(--bg);

  background-image:
    radial-gradient(var(--dark) 1px, transparent 1px),
    linear-gradient(90deg, #e5e5e5 1px, transparent 1px),
    linear-gradient(#e5e5e5 1px, transparent 1px);
  background-size:
    40px 40px,
    100px 100px,
    100px 100px;
  color: var(--dark);
  line-height: 1.5;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)"/></svg>');
  opacity: 0.08;
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: overlay;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--tr);
}

a:hover {
  color: var(--neo-pink);
}

ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

::selection {
  background: var(--dark);
  color: var(--yellow);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
  border-left: var(--border);
}

::-webkit-scrollbar-thumb {
  background: var(--dark);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--neo-pink);
}

.scroll-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--neo-pink);
  z-index: 9999;
  width: 0%;
  border-right: var(--border);
}

.container {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 20px;
  border-top: var(--border);
  position: relative;
  overflow: hidden;
  color: var(--dark);
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section>.container {
  position: relative;
  z-index: 1;
}

#hero {
  padding: 80px 20px;
  border-top: none;
  border-bottom: var(--border);
  position: relative;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
}

.section-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(80px, 15vw, 200px);
  font-weight: 900;
  color: rgba(0, 0, 0, 0.06);
  z-index: 0;
  pointer-events: none;
  white-space: nowrap;
}

.section-dark .section-bg-text {
  color: rgba(255, 255, 255, 0.03);
}

h1 {
  font-size: clamp(70px, 10vw, 130px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: transparent;
  -webkit-text-stroke: 2px var(--dark);
  transition: var(--tr);
  cursor: default;
}

h1:hover {
  color: var(--dark);
  -webkit-text-stroke: 2px var(--dark);
}

.hero-accent {
  color: var(--yellow);
  -webkit-text-stroke: 2px var(--dark);
}

.section-header {
  margin-bottom: 48px;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 900;
  text-transform: uppercase;
  background: var(--yellow);
  padding: 8px 24px;
  border: var(--border);
  box-shadow: var(--shadow);
  display: inline-block;
  transform: rotate(-1deg);
  transition: var(--tr);
}

.section-header h2:hover {
  transform: rotate(1deg) scale(1.1);
  background: var(--neo-pink);
  color: #fff;
  box-shadow: 12px 12px 0 var(--dark);
}

.section-num {
  font-size: 0.6em;
  margin-left: 8px;
}

.section-sub {
  margin-top: 8px;
  font-size: 1.3rem;
  opacity: 0.8;
  font-weight: 500;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  font-weight: 700;
  text-transform: uppercase;
  border: var(--border);
  background: var(--bg);
  box-shadow: var(--shadow);
  transition: var(--tr);
  cursor: pointer;
  border-radius: 0;
}

.btn:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-hover);
}

.btn-primary {
  background: var(--yellow);
}

#navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--bg);
  border-bottom: var(--border);
  height: 64px;
}

.nav-inner {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.1rem;
}

.blink {
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-links a {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  text-transform: uppercase;
  transition: var(--tr);
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--yellow);
  color: var(--dark);
}

.nav-cta {
  background: var(--yellow) !important;
  color: var(--dark) !important;
  border: var(--border) !important;
  font-weight: 700 !important;
}

.nav-cta:hover {
  background: #fff !important;
  transform: translate(-2px, -2px);
  box-shadow: 2px 2px 0 var(--dark);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--dark);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  color: var(--dark);
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  background: var(--yellow);
  padding: 4px 12px;
  border: var(--border);
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dark);
}

.hero-role {
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-tagline {
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 24px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: var(--border);
  max-width: 420px;
  margin-bottom: 32px;
  background: #fff;
}

.hstat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  border-right: var(--border);
}

.hstat:last-child {
  border-right: none;
}

.hstat strong {
  font-size: 1.3rem;
  font-weight: 800;
}

.hstat span {
  font-size: 0.6rem;
  text-transform: uppercase;
  text-align: center;
  font-family: var(--mono);
  font-weight: 600;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.profile-frame {
  border: var(--border);
  box-shadow: var(--shadow);
  background: var(--bg);
  overflow: hidden;
  transition: transform 0.2s ease;
}

.profile-frame:hover {
  transform: rotate(-2deg);
}

.profile-header {
  display: flex;
  color: var(--dark);
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-bottom: var(--border);
  background: var(--yellow);
}

.dots {
  display: flex;
  gap: 5px;
}

.dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--dark);
  background: #fff;
}

.profile-file {
  font-family: var(--mono);
  font-size: 0.7rem;
  margin-left: auto;
  font-weight: 600;
  color: var(--dark);
}

.profile-photo-wrap {
  border-bottom: var(--border);
}

.profile-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.3s;
}

.profile-frame:hover .profile-photo {
  filter: grayscale(0%);
}

.profile-json {
  padding: 16px;
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.8;
  background: #fff;
}

.j-k {
  color: var(--dark);
  font-weight: 700;
}

.j-s {
  color: #555;
}

.j-b {
  color: var(--dark);
}

.skills-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.skill-block {
  padding: 24px;
  border: var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  transition: var(--tr);
}

.skill-block:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-hover);
}

.skill-block-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border: var(--border);
  background: #fff;
  transition: var(--tr);
}

.pill:hover {
  transform: rotate(3deg) scale(1.05);
  background: var(--neo-pink);
  color: #fff;
  box-shadow: 4px 4px 0 var(--dark);
}

.pill.highlight {
  background: var(--yellow);
}

.project-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px 16px;
  border: var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: var(--tr);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--neo-blue);
  color: #fff;
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hover);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.projects-grid .proj-card:nth-child(even) {
  transform: translateY(12px);
}

.projects-grid .proj-card:nth-child(even):hover {
  transform: translate(-6px, 6px) rotate(-1deg);
}

.proj-card {
  border: var(--border);
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
  position: relative;
}

.proj-card:hover {
  transform: translate(-6px, -6px) rotate(1deg);
  box-shadow: var(--shadow-hover);
  z-index: 10;
}

.proj-card>img {
  width: 88%;
  margin: 20px auto 0;
  aspect-ratio: 16/9;
  object-fit: cover;
  border: var(--border);
  box-shadow: 4px 4px 0 var(--dark);
  transform: rotate(-1deg);
  transition: var(--tr);
}

.proj-card:hover>img {
  transform: rotate(0deg) scale(1.05);
  box-shadow: 6px 6px 0 var(--neo-pink);
}

.featured-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--yellow);
  font-weight: 700;
  font-size: 0.7rem;
  color: var(--dark);
  padding: 4px 10px;
  border: var(--border);
  box-shadow: var(--shadow);
  z-index: 2;
}

.proj-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.proj-card-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--dark);
}

.project-meta {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.project-meta span {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  border: var(--border);
  padding: 4px 8px;
  color: var(--dark);
  background: #fff;
}

.project-meta .category {
  background: var(--yellow);
}

.project-detail-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  font-size: 0.95rem;
  align-items: start;
  color: var(--dark);
}

.detail-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding-top: 2px;
  color: var(--dark);
}

.tech-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.tech-row span {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border: var(--border);
  color: var(--dark);
  background: transparent;
}

.project-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.proj-btn {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dark);
  padding: 10px 16px;
  border: var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  transition: var(--tr);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  width: 100%;
}

.proj-btn-live {
  background: var(--yellow);
}

.proj-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hover);
}

.other-works-tag {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: var(--neo-pink);
  color: #fff;
  border: var(--border);
  box-shadow: var(--shadow);
  text-align: center;
  gap: 16px;
  transition: var(--tr);
  text-decoration: none;
  height: 100%;
}

.other-works-tag:hover {
  transform: translate(-6px, -6px) rotate(1deg);
  background: var(--neo-blue);
  box-shadow: var(--shadow-hover);
}

.other-works-tag i {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 8px;
}

.other-works-tag h3 {
  font-size: 1.4rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  color: #fff;
}

.other-works-tag p {
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  opacity: 0.9;
}

.term-window {
  border: var(--border);
  background: #121212;
  box-shadow: var(--shadow);
  max-width: 600px;
  margin: 0 auto;
  overflow: hidden;
}

.term-header {
  background: #1e1e1e;
  border-bottom: 2px solid #333;
  display: flex;
  align-items: center;
  padding: 12px 16px;
}

.term-dots {
  display: flex;
  gap: 8px;
  flex: 1;
}

.term-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid #000;
}

.term-dots .red {
  background: #ff5f56;
}

.term-dots .yellow {
  background: #ffbd2e;
}

.term-dots .green {
  background: #27c93f;
}

.term-title {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  flex: 2;
  padding-right: 40px;
}

.term-body {
  padding: 32px 24px;
  background: #0a0a0a;
}

.term-text {
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: #27c93f;
  margin-bottom: 12px;
  line-height: 1.5;
}

.term-text .blink {
  animation: blink 1s step-end infinite;
}

.activity-row-github {
  margin-bottom: 24px;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.activity-card {
  border: var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: var(--tr);
}

.activity-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-hover);
}

.activity-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: var(--border);
  padding-bottom: 12px;
  margin-bottom: 24px;
}

.activity-card-head>span {
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
}

.activity-card-head a {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dark);
  border-bottom: 2px solid transparent;
}

.activity-card-head a:hover {
  color: var(--neo-blue);
  border-bottom: 2px solid var(--neo-blue);
}

.activity-github {
  border-color: var(--neo-pink) !important;
  box-shadow: 6px 6px 0 var(--neo-pink);
}

.activity-leetcode {
  border-color: var(--neo-blue) !important;
  box-shadow: 6px 6px 0 var(--neo-blue);
}

.activity-codeforces {
  border-color: var(--neo-green) !important;
  box-shadow: 6px 6px 0 var(--neo-green);
}

.activity-github:hover {
  box-shadow: 10px 10px 0 var(--neo-pink);
}

.activity-leetcode:hover {
  box-shadow: 10px 10px 0 var(--neo-blue);
}

.activity-codeforces:hover {
  box-shadow: 10px 10px 0 var(--neo-green);
}

.activity-label {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: #555;
}

.gh-graph-wrap {
  overflow-x: auto;
  padding-bottom: 8px;
}

.gh-graph-wrap::-webkit-scrollbar {
  height: 8px;
}

.gh-graph-wrap::-webkit-scrollbar-track {
  background: #fff;
  border-top: var(--border);
}

.gh-graph-wrap::-webkit-scrollbar-thumb {
  background: var(--dark);
}

.gh-graph-calendar {
  min-width: 700px;
  display: block;
  width: 100%;
  border: var(--border);
}

.stat-box {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stat-total-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  border-bottom: var(--border);
  padding-bottom: 16px;
}

.stat-big {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.stat-big-sm {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.stat-meta {
  font-family: var(--mono);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.stat-sep {
  font-weight: 800;
  color: #aaa;
  margin: 0 8px;
}

.stat-pills {
  display: flex;
  gap: 12px;
}

.spill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: var(--border);
  padding: 8px 16px;
  flex: 1;
  transition: var(--tr);
}

.spill:hover {
  background: var(--bg);
  transform: translateY(-2px);
}

.spill em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.spill strong {
  font-size: 1.4rem;
  font-weight: 800;
}

.spill.easy {
  border-color: #00b8a3;
  color: #00b8a3;
}

.spill.medium {
  border-color: #ffc01e;
  color: #ffc01e;
}

.spill.hard {
  border-color: #ff375f;
  color: #ff375f;
}

.cf-info-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  padding-top: 16px;
  border-top: var(--border);
}

.rank-inline {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--yellow);
  padding: 2px 6px;
  border: 2px solid var(--dark);
  margin-right: 8px;
  color: var(--dark);
}

.lc-loading,
.cf-loading {
  font-family: var(--mono);
  font-weight: 600;
  padding: 24px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}

.about-photo-frame {
  border: var(--border);
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}

.about-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.photo-caption {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--dark);
}

.about-chips {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-chips span {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 10px;
  border: var(--border);
  background: #fff;
  color: var(--dark);
  display: flex;
  gap: 12px;
  align-items: center;
}

.about-tag {
  font-family: var(--mono);
  font-weight: 800;
  margin-bottom: 12px;
  font-size: 1.2rem;
  color: var(--neo-pink);
}

.about-headline {
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 32px;
  text-transform: uppercase;
  color: var(--dark);
}

.about-headline mark {
  background: var(--yellow);
  padding: 0 8px;
  border: var(--border);
  color: var(--dark);
}

.about-blocks {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.ab-block {
  padding: 24px;
  border: var(--border);
  background: #fff;
}

.ab-block.highlight-block {
  background: var(--yellow);
  color: var(--dark);
}

.ab-block p {
  color: inherit;
}

.ab-label {
  display: block;
  font-family: var(--mono);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.about-facts {
  border: var(--border);
  background: #fff;
}

.fact-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: var(--border);
}

.fact-item:last-child {
  border-bottom: none;
}

.fact-label {
  font-family: var(--mono);
  font-weight: 700;
  padding: 16px;
  border-right: var(--border);
  background: var(--yellow);
  color: var(--dark);
}

.fact-val {
  padding: 16px;
  font-weight: 500;
  color: var(--dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border: var(--border);
  box-shadow: var(--shadow);
  transition: var(--tr);
  color: var(--dark) !important;
  text-decoration: none;
  min-height: 100px;
}

.contact-item:hover {
  background: var(--yellow);
  transform: translate(-6px, -6px);
  box-shadow: var(--shadow-hover);
  z-index: 2;
}

.contact-item i {
  font-size: 1.8rem;
  color: var(--dark) !important;
}

.ci-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #555;
}

.ci-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--dark);
  word-break: break-all;
}

.contact-resume {
  background: var(--neo-yellow-bright);
}

.contact-resume-card {
  border: var(--border);
  padding: 48px 32px;
  background: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow);
  transition: var(--tr);
}

.contact-resume-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-hover);
}

.resume-card-top {
  font-size: 4rem;
}

.contact-resume-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-resume-card .btn {
  width: 100%;
  text-align: center;
}

.back-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--yellow);
  border: var(--border);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--tr);
  z-index: 800;
  color: var(--dark);
}

.back-top.show {
  opacity: 1;
  visibility: visible;
}

.back-top:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hover);
  background: var(--neo-pink);
}

footer {
  padding: 80px 0 40px;
  border-top: var(--border);
  background: var(--dark);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-col h3 {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--yellow);
}

.footer-col h4 {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: #aaa;
}

.footer-col p {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 400px;
  margin-bottom: 24px;
  color: #eee;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: #222;
  border: 1px solid #444;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--neo-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neo-green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }

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

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: var(--tr);
}

.footer-links a:hover {
  color: var(--yellow);
  padding-left: 8px;
}

.footer-bottom {
  text-align: center;
}

.footer-divider {
  height: 2px;
  background: #333;
  margin-bottom: 30px;
}

.footer-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: #888;
}

@media (max-width: 900px) {

  .hero-grid,
  .skills-blocks,
  .projects-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .projects-grid .proj-card:nth-child(even) {
    transform: none;
  }

  .projects-grid .proj-card:nth-child(even):hover {
    transform: translate(-4px, -4px);
  }

  .hero-right {
    order: -1;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }

  .hstat:nth-child(2) {
    border-right: none;
  }

  .hstat:nth-child(1),
  .hstat:nth-child(2) {
    border-bottom: var(--border);
  }

  .activity-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    border-bottom: var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 16px;
    border-bottom: var(--border);
  }

  .hamburger {
    display: flex;
  }

  .about-photo-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .about-photo-frame {
    max-width: 300px;
    margin: 0 auto;
  }

  .photo-caption {
    text-align: center;
    margin-bottom: 12px;
  }

  .about-chips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
  }

  .fact-item {
    grid-template-columns: 1fr;
  }

  .fact-label {
    border-right: none;
    border-bottom: var(--border);
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 40px;
  }

  .contact-heading {
    font-size: 2.5rem;
  }

  .section {
    padding: 48px 0;
  }

  .about-photo-col {
    display: flex;
  }

  .about-chips {
    grid-template-columns: 1fr;
  }

  .about-headline {
    margin-bottom: 24px;
  }

  .about-facts {
    font-size: 0.9rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .activity-grid {
    grid-template-columns: 1fr;
  }

  .stat-big {
    font-size: 2rem;
  }

  .stat-big-sm {
    font-size: 1.5rem;
  }
}

.marquee-wrap {
  background: var(--dark);
  color: #fff;
  padding: 20px 0;
  border-top: var(--border);
  border-bottom: var(--border);
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  font-family: var(--mono);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.8rem;
  margin: 40px 0;
  transform: rotate(-1.5deg) scale(1.02);
  z-index: 5;
  position: relative;
}

.marquee-content {
  display: flex;
  gap: 60px;
  animation: marquee 30s linear infinite;
  padding-left: 60px;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 60px;
}

.marquee-item span {
  color: var(--yellow);
  font-size: 2.5rem;
}

.sticker {
  position: absolute;
  padding: 8px 16px;
  background: var(--neo-pink);
  color: #fff;
  border: var(--border);
  font-family: var(--mono);
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 4px 4px 0 var(--dark);
  z-index: 10;
  text-transform: uppercase;
  pointer-events: none;
}

.sticker-top-right {
  top: -20px;
  right: -20px;
  transform: rotate(15deg);
  background: var(--neo-blue);
}

.sticker-bottom-left {
  bottom: -10px;
  left: -30px;
  transform: rotate(-10deg);
  background: var(--neo-orange);
}

.fact-item {
  transition: var(--tr);
}

.fact-item:hover {
  background: var(--bg);
  transform: translateX(8px);
  box-shadow: -8px 0 0 var(--neo-pink);
}

.about-photo-frame:hover {
  transform: rotate(3deg) scale(1.02);
  box-shadow: 12px 12px 0 var(--neo-blue);
}

.marquee-wrap:hover .marquee-content {
  animation-play-state: paused;
}