/* --- RESET & BASE ------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

:root {
  --bg: #0a0c0a;
  --bg2: #0f110f;
  --bg3: #141814;
  --surface: #1a1f1a;
  --border: #232823;
  --green: #39ff6e;
  --green2: #2bcc58;
  --green-dim: #1a4d2e;
  --text: #e8f0e8;
  --muted: #7a8f7a;
  --dim: #4a5e4a;
  --font-head: 'Bricolage Grotesque', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.35s cubic-bezier(.4, 0, .2, 1);
  --nav-h: 68px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%
}

img,
svg,
video {
  max-width: 100%;
  display: block
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
  width: 100%;
  min-width: 0;
}

@media(max-width:768px) {
  body {
    cursor: auto
  }
}

/* --- CURSOR ------------------------------------------- */
#cursor,
#cursor-ring {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  z-index: 9999
}

#cursor {
  width: 12px;
  height: 12px;
  background: var(--green);
  border-radius: 50%;
  mix-blend-mode: screen;
  transition: transform .1s, width .2s, height .2s;
  z-index: 9999
}

#cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(57, 255, 110, .5);
  border-radius: 50%;
  z-index: 9998;
  transition: width .2s, height .2s, border-color .2s
}

body:has(a:hover) #cursor,
body:has(button:hover) #cursor {
  transform: translate(-50%, -50%) scale(2.5)
}

body:has(a:hover) #cursor-ring,
body:has(button:hover) #cursor-ring {
  width: 52px;
  height: 52px;
  border-color: var(--green)
}

@media(max-width:768px) {

  #cursor,
  #cursor-ring {
    display: none
  }
}

/* --- SCROLLBAR --------------------------------------- */
::-webkit-scrollbar {
  width: 4px
}

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

::-webkit-scrollbar-thumb {
  background: var(--green-dim);
  border-radius: 4px
}

/* --- NOISE -------------------------------------------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9997;
  opacity: .4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
}

/* --- NAV ---------------------------------------------- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  backdrop-filter: blur(18px);
  background: rgba(10, 12, 10, .82);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}

nav.scrolled {
  border-color: var(--border)
}

.nav-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--green);
  text-decoration: none;
  letter-spacing: -.3px;
  flex-shrink: 0
}

.nav-logo span {
  color: var(--text)
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0 auto
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: .76rem;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: .05em;
  transition: color var(--transition);
  position: relative
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--green);
  transition: width var(--transition)
}

.nav-links a:hover {
  color: var(--green)
}

.nav-links a:hover::after {
  width: 100%
}

.nav-cta {
  font-family: var(--font-mono);
  font-size: .74rem;
  padding: 8px 16px;
  border: 1px solid var(--green);
  color: var(--green);
  background: transparent;
  border-radius: 6px;
  cursor: none;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
  letter-spacing: .04em;
  white-space: nowrap;
  flex-shrink: 0
}

.nav-cta:hover {
  background: var(--green);
  color: var(--bg)
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1100
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all .3s;
  display: block;
  border-radius: 2px
}

.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)
}

@media(max-width:900px) {
  nav {
    padding: 0 20px
  }

  .nav-links {
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: min(280px, 80vw);
    height: 100vh;
    background: var(--bg2);
    padding: 90px 36px 40px;
    gap: 22px;
    transition: right .4s ease;
    border-left: 1px solid var(--border);
    overflow-y: auto;
    margin: 0;
  }

  .nav-links.open {
    right: 0
  }

  .nav-links a {
    font-size: .92rem
  }

  .nav-cta {
    display: none
  }

  .hamburger {
    display: flex
  }
}

@media(max-width:360px) {
  nav {
    padding: 0 14px
  }

  .nav-logo {
    font-size: 1.1rem
  }
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 999;
  backdrop-filter: blur(2px)
}

.nav-overlay.open {
  display: block
}

/* --- SECTION WRAPPER ---------------------------------- */
.sw {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 60px
}

@media(max-width:900px) {
  .sw {
    padding: 72px 28px
  }
}

@media(max-width:480px) {
  .sw {
    padding: 56px 20px
  }
}

@media(max-width:360px) {
  .sw {
    padding: 48px 16px
  }
}

.section-tag {
  font-family: var(--font-mono);
  font-size: .68rem;
  color: var(--green);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px
}

.section-tag::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--green);
  flex-shrink: 0
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3.8vw, 2.85rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.3px;
  margin-bottom: 16px
}

.section-title em {
  color: var(--green);
  font-style: normal
}

/* --- BUTTONS ------------------------------------------ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--green);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: .82rem;
  font-weight: 500;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: none;
  letter-spacing: .04em;
  border: 2px solid var(--green);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .15);
  opacity: 0;
  transition: opacity var(--transition)
}

.btn-primary:hover::after {
  opacity: 1
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(57, 255, 110, .28)
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: .82rem;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: none;
  letter-spacing: .04em;
  border: 1.5px solid var(--border);
  transition: all var(--transition);
}

.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px)
}

@media(max-width:768px) {

  .btn-primary,
  .btn-outline {
    cursor: auto
  }
}

/* --- HERO --------------------------------------------- */
#hero {
  min-height: 100vh;
  width: 100%;
  padding-top: var(--nav-h);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 60px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media(max-width:1080px) {
  .hero-inner {
    grid-template-columns: 1fr 300px;
    gap: 40px;
    padding: 50px 40px
  }
}

@media(max-width:768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 40px 20px 64px;
    gap: 28px;
    text-align: center;
    justify-items: center;
  }

  .hero-left {
    width: 100%;
    max-width: 100%
  }
}

@media(max-width:480px) {
  .hero-inner {
    padding: 28px 20px 52px
  }
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(rgba(57, 255, 110, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(57, 255, 110, .04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black, transparent);
}

.hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(57, 255, 110, .1) 0%, transparent 70%);
  border-radius: 50%;
  top: 10%;
  right: 5%;
  pointer-events: none;
  z-index: 0;
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {

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

  50% {
    transform: scale(1.08);
    opacity: .65
  }
}

/* Left */
.hero-left {
  position: relative;
  z-index: 1
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-family: var(--font-mono);
  font-size: .69rem;
  color: var(--muted);
  margin-bottom: 26px;
  letter-spacing: .05em;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: blink 2s infinite;
  flex-shrink: 0
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .3
  }
}

.hero-name {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 7.5vw, 5.8rem);
  font-weight: 800;
  line-height: .97;
  letter-spacing: -1px;
  margin-bottom: 14px;
}

.hero-name .line1 {
  display: block;
  overflow: hidden
}

.hero-name .line2 {
  display: block;
  color: var(--green);
  overflow: hidden
}

.hero-title {
  font-family: var(--font-mono);
  font-size: clamp(.7rem, 1.6vw, .88rem);
  color: var(--muted);
  margin-bottom: 22px;
  letter-spacing: .08em;
  text-transform: uppercase;
  min-height: 1.5em;
}

.hero-tagline {
  font-size: clamp(.92rem, 1.8vw, 1.08rem);
  color: var(--muted);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 34px;
}

.hero-tagline strong {
  color: var(--text)
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap
}

@media(max-width:768px) {
  .hero-badge {
    margin-left: auto;
    margin-right: auto
  }

  .hero-tagline {
    margin-left: auto;
    margin-right: auto
  }

  .hero-ctas {
    justify-content: center
  }
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap
}

@media(max-width:768px) {
  .hero-stats {
    justify-content: center;
    gap: 24px
  }
}

@media(max-width:380px) {
  .hero-stats {
    gap: 16px
  }

  .stat-num {
    font-size: 1.5rem
  }

  .stat-label {
    font-size: .6rem
  }
}

.stat-num {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -1px;
  line-height: 1
}

.stat-label {
  font-family: var(--font-mono);
  font-size: .66rem;
  color: var(--muted);
  letter-spacing: .08em;
  margin-top: 4px
}

/* Right &mdash; profile image */
.hero-right {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center
}

@media(max-width:768px) {
  .hero-right {
    order: -1
  }
}

.profile-img-wrap {
  position: relative;
  width: 300px;
  height: 300px
}

@media(max-width:1080px) {
  .profile-img-wrap {
    width: 260px;
    height: 260px
  }
}

@media(max-width:768px) {
  .profile-img-wrap {
    width: 200px;
    height: 200px
  }
}

@media(max-width:400px) {
  .profile-img-wrap {
    width: 168px;
    height: 168px
  }
}

.profile-glow {
  position: absolute;
  inset: -32px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57, 255, 110, .1) 0%, transparent 70%);
  animation: pulse-glow 3.5s ease-in-out infinite;
  pointer-events: none
}

.profile-ring {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1.5px dashed rgba(57, 255, 110, .35);
  animation: spin-slow 18s linear infinite
}

.profile-ring::before {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  box-shadow: 0 0 10px var(--green)
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg)
  }

  to {
    transform: rotate(360deg)
  }
}

.profile-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--green-dim);
  background: var(--surface);
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(57, 255, 110, .1), inset 0 0 20px rgba(0, 0, 0, .4);
}

.profile-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%
}

.profile-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--dim);
  text-align: center;
  padding: 20px
}

.profile-placeholder svg {
  width: 44px;
  height: 44px;
  opacity: .35;
  fill: currentColor
}

.profile-placeholder span {
  font-family: var(--font-mono);
  font-size: .62rem;
  color: var(--dim);
  letter-spacing: .07em;
  line-height: 1.6
}

.hero-right-tag {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 8px 13px;
  font-family: var(--font-mono);
  font-size: .62rem;
  color: var(--muted);
  letter-spacing: .05em;
  white-space: nowrap;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .4);
}

.hero-right-tag.tl {
  top: -14px;
  left: -14px;
  color: var(--muted)
}

.hero-right-tag.br {
  bottom: -14px;
  right: -14px;
  color: var(--green)
}

@media(max-width:480px) {
  .hero-right-tag {
    display: none
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 1
}

@media(max-width:768px) {
  .scroll-indicator {
    display: none
  }
}

.scroll-indicator span {
  font-family: var(--font-mono);
  font-size: .58rem;
  color: var(--dim);
  letter-spacing: .12em;
  text-transform: uppercase
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--dim), transparent);
  animation: scroll-drop 2s ease-in-out infinite
}

@keyframes scroll-drop {

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

  50% {
    opacity: .3;
    transform: scaleY(.6) translateY(6px)
  }
}

/* --- ABOUT -------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start
}

@media(max-width:768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px
  }
}

.about-text p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 1rem
}

.about-text p strong {
  color: var(--text)
}

.about-links {
  display: flex;
  gap: 10px;
  margin-top: 26px;
  flex-wrap: wrap
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: .71rem;
  color: var(--muted);
  text-decoration: none;
  transition: all var(--transition);
  cursor: none
}

.chip:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(57, 255, 110, .04)
}

.chip-resume {
  border-color: var(--green-dim);
  color: var(--green)
}

.chip-resume:hover {
  background: var(--green);
  color: var(--bg)
}

@media(max-width:768px) {
  .chip {
    cursor: auto
  }
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 14px;
  transition: border-color var(--transition), transform var(--transition)
}

.info-card:hover {
  border-color: var(--green-dim);
  transform: translateY(-2px)
}

.info-card-title {
  font-family: var(--font-mono);
  font-size: .66rem;
  color: var(--green);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 14px
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  gap: 12px;
  flex-wrap: wrap
}

.info-row:last-child {
  border-bottom: none
}

.info-row-label {
  font-size: .82rem;
  color: var(--muted);
  flex-shrink: 0
}

.info-row-val {
  font-size: .82rem;
  color: var(--text);
  font-weight: 500;
  text-align: right;
  word-break: break-word
}

/* --- SKILLS ------------------------------------------- */
.skills-intro {
  max-width: 560px;
  color: var(--muted);
  margin-bottom: 36px;
  line-height: 1.7;
  font-size: 1rem
}

.skills-unified {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative
}

.skills-unified::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green), transparent)
}

.skills-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: start;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  gap: 20px
}

.skills-row:last-child {
  border-bottom: none
}

@media(max-width:640px) {
  .skills-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 18px
  }
}

.skills-row-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap
}

.skills-row-label span {
  font-size: 1rem
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px
}

.skill-tag {
  display: inline-block;
  padding: 3px 11px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: .69rem;
  color: var(--muted);
  transition: all var(--transition)
}

.skill-tag.hot {
  border-color: var(--green-dim);
  color: var(--green);
  background: rgba(57, 255, 110, .05)
}

/* --- PROJECTS ----------------------------------------- */
.projects-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 4px;
  border-radius: 10px;
  width: fit-content;
  flex-wrap: wrap
}

.tab-btn {
  padding: 7px 17px;
  font-family: var(--font-mono);
  font-size: .73rem;
  color: var(--muted);
  background: none;
  border: none;
  border-radius: 7px;
  cursor: none;
  transition: all var(--transition);
  letter-spacing: .04em;
  white-space: nowrap
}

.tab-btn.active {
  background: var(--bg);
  color: var(--green);
  border: 1px solid var(--green-dim)
}

@media(max-width:768px) {
  .tab-btn {
    cursor: auto
  }
}

.tab-panel {
  display: none
}

.tab-panel.active {
  display: block
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px
}

@media(max-width:600px) {
  .projects-grid {
    grid-template-columns: 1fr
  }
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  cursor: none
}

.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(57, 255, 110, .06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none
}

.project-card:hover {
  border-color: var(--green-dim);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35)
}

.project-card:hover::after {
  opacity: 1
}

@media(max-width:768px) {
  .project-card {
    cursor: auto
  }
}

.project-type {
  font-family: var(--font-mono);
  font-size: .6rem;
  color: var(--green);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 9px
}

.project-title {
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3
}

.project-desc {
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.65;
  margin-bottom: 16px
}

.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px
}

.project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 13px
}

.project-status {
  font-family: var(--font-mono);
  font-size: .6rem;
  color: var(--dim)
}

.project-status.ongoing {
  color: var(--green)
}

.project-link {
  font-family: var(--font-mono);
  font-size: .68rem;
  color: var(--muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color var(--transition)
}

.project-link:hover {
  color: var(--green)
}

/* --- CREATIVE CARDS ----------------------------------- */
.creative-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px
}

@media(max-width:600px) {
  .creative-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding-bottom: 16px;
    scroll-padding-left: 20px;
  }

  .creative-grid::-webkit-scrollbar {
    height: 3px
  }

  .creative-grid::-webkit-scrollbar-thumb {
    background: var(--green-dim);
    border-radius: 3px
  }

  .creative-grid::after {
    content: '';
    min-width: 20px;
    flex-shrink: 0
  }
}

.creative-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  cursor: none;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.creative-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green), transparent);
  opacity: 0;
  transition: opacity var(--transition)
}

.creative-card:hover {
  border-color: var(--green-dim);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .3)
}

.creative-card:hover::before {
  opacity: 1
}

@media(max-width:768px) {
  .creative-card {
    cursor: auto
  }
}

@media(max-width:600px) {
  .creative-card {
    min-width: 78vw;
    max-width: 310px;
    scroll-snap-align: start;
    flex-shrink: 0
  }
}

.creative-card-type {
  font-family: var(--font-mono);
  font-size: .6rem;
  color: var(--green);
  letter-spacing: .12em;
  text-transform: uppercase
}

.creative-card-title {
  font-family: var(--font-head);
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text)
}

.creative-card-desc {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.55;
  flex: 1
}

.creative-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 4px
}

.creative-card-tool {
  font-family: var(--font-mono);
  font-size: .62rem;
  color: var(--dim)
}

.creative-card-link {
  font-family: var(--font-mono);
  font-size: .68rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 3px;
  transition: color var(--transition)
}

.creative-card:hover .creative-card-link {
  color: var(--green)
}

/* --- EDUCATION ---------------------------------------- */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px
}

@media(max-width:580px) {
  .edu-grid {
    grid-template-columns: 1fr
  }
}

.edu-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: start;
  transition: border-color var(--transition)
}

.edu-card:hover {
  border-color: var(--green-dim)
}

@media(max-width:480px) {
  .edu-card {
    grid-template-columns: 1fr;
    padding: 20px
  }
}

.edu-degree {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 5px;
  line-height: 1.25
}

.edu-school {
  color: var(--muted);
  font-size: .83rem;
  margin-bottom: 14px;
  line-height: 1.5
}

.edu-subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 6px
}

@media(max-width:768px) {
  .edu-subjects {
    justify-content: center
  }
}

.edu-badge {
  padding: 3px 9px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: .63rem;
  color: var(--dim)
}

.edu-right {
  text-align: right
}

@media(max-width:480px) {
  .edu-right {
    text-align: center
  }
}

.cgpa {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -1px;
  line-height: 1
}

.cgpa-label {
  font-family: var(--font-mono);
  font-size: .56rem;
  color: var(--dim);
  letter-spacing: .1em;
  margin-top: 2px
}

.year-tag {
  font-family: var(--font-mono);
  font-size: .67rem;
  color: var(--muted);
  margin-top: 7px
}

/* blogs grid mobile */
.blogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px
}

@media(max-width:600px) {
  .blogs-grid {
    grid-template-columns: 1fr
  }
}

.blog-show-more {
  display: none
}

@media(max-width:768px) {
  .blog-show-more {
    display: block;
    text-align: center
  }
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: all var(--transition);
  cursor: none;
  display: flex;
  flex-direction: column;
  gap: 9px
}

.blog-card:hover {
  border-color: var(--green-dim);
  transform: translateY(-3px)
}

@media(max-width:768px) {
  .blog-card {
    cursor: auto
  }
}

.blog-cat {
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase
}

.blog-cat.technical {
  color: var(--green)
}

.blog-cat.personal {
  color: #6bd9ff
}

.blog-title {
  font-family: var(--font-head);
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.35
}

.blog-excerpt {
  color: var(--muted);
  font-size: .83rem;
  line-height: 1.6;
  flex: 1
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: .63rem;
  color: var(--dim)
}

.blog-read {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: .68rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
  width: fit-content
}

.blog-read:hover {
  gap: 8px
}

/* --- CONTACT ------------------------------------------ */
.contact-section {
  text-align: center;
  position: relative
}

.contact-glow {
  position: absolute;
  width: 500px;
  height: 260px;
  background: radial-gradient(ellipse, rgba(57, 255, 110, .07) 0%, transparent 70%);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none
}

.contact-inner {
  position: relative;
  z-index: 1
}

.contact-headline {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.1;
  margin-bottom: 18px
}

.contact-sub {
  color: var(--muted);
  max-width: 440px;
  margin: 0 auto 38px;
  line-height: 1.7;
  font-size: 1rem
}

.contact-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 44px
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: .76rem;
  color: var(--muted);
  text-decoration: none;
  cursor: none;
  transition: all var(--transition);
  letter-spacing: .03em;
  min-height: 48px;
  white-space: nowrap;
}

.contact-link:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(57, 255, 110, .04);
  transform: translateY(-2px)
}

.contact-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0
}

@media(max-width:768px) {
  .contact-link {
    cursor: auto
  }
}

@media(max-width:600px) {
  .contact-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px
  }

  .contact-link {
    width: auto;
    max-width: 160px;
    min-width: 120px;
    padding: 12px 18px;
    font-size: .72rem;
  }
}

@media(max-width:360px) {
  .contact-link {
    min-width: 100px;
    max-width: 140px;
    font-size: .68rem;
    padding: 11px 14px
  }
}

/* --- FOOTER ------------------------------------------- */
footer {
  border-top: 1px solid var(--border);
  padding: 26px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: .68rem;
  color: var(--dim);
  flex-wrap: wrap;
  gap: 10px
}

@media(max-width:900px) {
  footer {
    padding: 22px 24px
  }
}

@media(max-width:600px) {
  footer {
    justify-content: center;
    text-align: center
  }
}

footer a {
  color: var(--green);
  text-decoration: none
}

.footer-logo {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--green);
  font-size: .92rem
}

/* --- SCROLL TO TOP ------------------------------------ */
#scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 990;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--green-dim);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s, background .2s, box-shadow .2s;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .4);
  /* WCAG 2.5.5: minimum 44&times;44px touch target */
  min-width: 44px;
  min-height: 44px;
}

#scroll-top.visible {
  opacity: 1;
  pointer-events: auto
}

#scroll-top:hover {
  background: var(--green);
  color: var(--bg);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(57, 255, 110, .25)
}

#scroll-top svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  pointer-events: none
}

@media(max-width:768px) {
  #scroll-top {
    bottom: 20px;
    right: 16px;
    width: 52px;
    height: 52px;
    /* keep 52&times;52 on mobile &mdash; big enough to tap */
  }
}

/* --- MOBILE &mdash; CENTERING + DECLUTTER ------------------ */
@media(max-width:768px) {

  /* Universal centering */
  .sw {
    text-align: center
  }

  .section-tag {
    justify-content: center
  }

  .section-tag::before {
    display: none
  }

  .section-title {
    text-align: center
  }

  .skills-intro {
    text-align: center;
    margin-left: auto;
    margin-right: auto
  }

  /* About */
  .about-text p {
    text-align: center
  }

  .about-links {
    justify-content: center
  }

  .about-grid {
    justify-items: center
  }

  /* Hide the "Currently Building" card on mobile &mdash; reduce density */
  .info-card:last-child {
    display: none
  }

  /* Skills */
  .skills-row {
    justify-items: center;
    text-align: center
  }

  .skills-row-label {
    justify-content: center
  }

  .skill-list {
    justify-content: center
  }

  /* Projects */
  .projects-tabs {
    margin-left: auto;
    margin-right: auto
  }

  /* Education */
  .edu-card {
    text-align: center
  }

  .edu-subjects {
    justify-content: center
  }

  .edu-right {
    text-align: center
  }

  /* Remove subject badges on mobile &mdash; reduce density */
  .edu-subjects {
    display: none
  }

  /* Blogs &mdash; left aligned for readability */
  .blog-card {
    text-align: left
  }

  /* Show only first 3 blog cards on mobile */
  .blogs-grid .blog-card:nth-child(n+4) {
    display: none
  }

  /* Stat items centered */
  .hero-stats {
    justify-content: center
  }

  /* Contact */
  .contact-section {
    text-align: center
  }

  .contact-sub {
    text-align: center
  }

  /* Hero name tight on small screens */
  .hero-name {
    letter-spacing: -.5px
  }

  /* About: hide "Quick Info" card second info block (Currently Building) */
}

/* --- MOBILE PROJECT CARD CAROUSEL --------------------- */
@media(max-width:600px) {
  .projects-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding-bottom: 14px;
    scroll-padding-left: 20px;
    grid-template-columns: unset;
  }

  .projects-grid::-webkit-scrollbar {
    height: 3px
  }

  .projects-grid::-webkit-scrollbar-thumb {
    background: var(--green-dim);
    border-radius: 3px
  }

  .project-card {
    min-width: 82vw;
    max-width: 320px;
    flex-shrink: 0;
    scroll-snap-align: start
  }

  .projects-grid::after {
    content: '';
    min-width: 20px;
    flex-shrink: 0
  }
}

/* Swipe hint label */
.carousel-hint {
  display: none
}

@media(max-width:600px) {
  .carousel-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: .62rem;
    color: var(--dim);
    margin-bottom: 10px;
    justify-content: center;
    letter-spacing: .06em;
  }

  .carousel-hint::before,
  .carousel-hint::after {
    content: '';
    width: 14px;
    height: 1px;
    background: var(--dim)
  }
}

/* Very small screens: show fewer hero stats */
@media(max-width:360px) {

  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    display: none
  }
}

/* About: hide hero tagline on very small screens (shown in about section anyway) */
@media(max-width:380px) {
  .hero-tagline {
    display: none
  }

  .hero-ctas {
    margin-top: 8px
  }
}

/* --- ANIMATIONS --------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease
}

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

.reveal-delay-1 {
  transition-delay: .1s
}

.reveal-delay-2 {
  transition-delay: .2s
}

.reveal-delay-3 {
  transition-delay: .34s
}

.stagger>* {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease
}

.stagger.visible>* {
  opacity: 1;
  transform: translateY(0)
}

.stagger.visible>*:nth-child(1) {
  transition-delay: .00s
}

.stagger.visible>*:nth-child(2) {
  transition-delay: .08s
}

.stagger.visible>*:nth-child(3) {
  transition-delay: .16s
}

.stagger.visible>*:nth-child(4) {
  transition-delay: .24s
}

.stagger.visible>*:nth-child(5) {
  transition-delay: .32s
}

.stagger.visible>*:nth-child(6) {
  transition-delay: .40s
}

/* Hero entrance */
.hero-badge {
  opacity: 0;
  animation: fadeSlide .6s .2s ease forwards
}

.hero-name .line1>span {
  display: block;
  animation: slideUp .8s .35s cubic-bezier(.4, 0, .2, 1) both
}

.hero-name .line2>span {
  display: block;
  animation: slideUp .8s .50s cubic-bezier(.4, 0, .2, 1) both
}

.hero-title {
  opacity: 0;
  animation: fadeSlide .6s .7s ease forwards
}

.hero-tagline {
  opacity: 0;
  animation: fadeSlide .6s .84s ease forwards
}

.hero-ctas {
  opacity: 0;
  animation: fadeSlide .6s .98s ease forwards
}

.hero-stats {
  opacity: 0;
  animation: fadeSlide .6s 1.12s ease forwards
}

.hero-right {
  opacity: 0;
  animation: fadeSlide .9s .44s ease forwards
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0
  }

  to {
    transform: translateY(0);
    opacity: 1
  }
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(14px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

/* ═══════════════════════════════════════════════════════
   SKELETON LOADING
═══════════════════════════════════════════════════════ */
@keyframes shimmer {
  0%   { background-position: 200% 0 }
  100% { background-position: -200% 0 }
}

.skel {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,.04) 25%,
    rgba(255,255,255,.09) 50%,
    rgba(255,255,255,.04) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 5px;
  display: block;
}

/* Hero name skeleton — inline-block with em sizing so it matches the h1 font size */
.skel-heroname {
  display: inline-block;
  height: .82em;
  width: 5ch;
  border-radius: 6px;
  vertical-align: middle;
}
.skel-heroname--lg { width: 9ch; }

/* Badge text skeleton — inline so it sits inside the pill */
.skel-badge-inline {
  display: inline-block;
  height: 1em;
  width: 190px;
  border-radius: 4px;
  vertical-align: middle;
}

/* Generic skeleton sizes used inside sections */
.skel-xs  { height: 11px; }
.skel-sm  { height: 14px; }
.skel-md  { height: 20px; }
.skel-lg  { height: 28px; }
.skel-xl  { height: 44px; }

.skel-w-30 { width: 30%; }
.skel-w-50 { width: 50%; }
.skel-w-70 { width: 70%; }
.skel-w-80 { width: 80%; }
.skel-w-full { width: 100%; }

/* Stat item skeleton */
.skel-stat-wrap { text-align: center; }
.skel-stat-wrap .skel { margin: 0 auto; }

/* Skill row skeleton */
.skel-skill-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  gap: 20px;
}
.skel-skill-row:last-child { border-bottom: none; }
@media(max-width:640px) {
  .skel-skill-row { grid-template-columns: 1fr; padding: 16px 18px; }
}
.skel-tag-group { display: flex; flex-wrap: wrap; gap: 7px; }
.skel-tag { display: inline-block; height: 26px; width: 64px; border-radius: 5px; }

/* Card skeletons */
.skel-project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.skel-blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.skel-edu-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 14px;
}
.skel-info-row {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.skel-info-row:last-child { border-bottom: none; }

/* ═══════════════════════════════════════════════════════
   ERROR BANNER — shown when JSON fails to load
═══════════════════════════════════════════════════════ */
.data-error-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff4d4d22;
  border: 1px solid #ff4d4d66;
  color: #ff8080;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .05em;
  padding: 10px 20px;
  border-radius: 8px;
  z-index: 9999;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

/* ═══════════════════════════════════════════════════════
   IMAGE FALLBACK — shown when <img> src fails
═══════════════════════════════════════════════════════ */
img.img-error {
  display: none !important;
}
.img-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: var(--surface);
  color: var(--dim);
  width: 100%;
  height: 100%;
  border-radius: inherit;
  user-select: none;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE CONTENT SCALING
   Desktop (> 768px): full untruncated content shown
   Mobile  (≤ 768px): non-essential content hidden
═══════════════════════════════════════════════════════ */

/* On desktop, .mobile-hide elements are always visible */
.mobile-hide { display: block; }

@media (max-width: 768px) {

  /* ── Core rule: hide verbose / supplementary content ── */
  .mobile-hide { display: none !important; }

  /* ── Project cards: tighter padding, title-only layout ── */
  .project-card {
    padding: 18px 16px;
    gap: 10px;
  }
  .project-card .project-type { font-size: .62rem; }
  .project-card .project-title { font-size: .98rem; }

  /* ── Blog cards: tighter, title + meta only ──────────── */
  .blog-card { padding: 18px; }
  .blog-title { font-size: .93rem; }

  /* ── Creative cards ──────────────────────────────────── */
  .creative-card { padding: 18px 16px; }
  .creative-card-title { font-size: .93rem; }

  /* ── Education cards: degree + score only ────────────── */
  .edu-card { gap: 16px; }
  .edu-degree { font-size: .95rem; }

  /* ── Skills: smaller tags to fit more per row ────────── */
  .skill-tag { font-size: .63rem; padding: 2px 8px; }

  /* ── Info cards: compact row padding ────────────────── */
  .info-card { padding: 16px; }
  .info-row  { padding: 6px 0; }
  .info-row-label,
  .info-row-val { font-size: .78rem; }

  /* ── Section title: tighten bottom margin ────────────── */
  .section-title { margin-bottom: 10px; }

  /* ── Hero stats: reduce gap ──────────────────────────── */
  .hero-stats { gap: 20px; margin-top: 30px; padding-top: 20px; }

  /* ── Hero tagline: shorter line-height ───────────────── */
  .hero-tagline { margin-bottom: 24px; font-size: .92rem; }

  /* ── About section title: tighter ───────────────────── */
  .about-text .section-title { font-size: clamp(1.5rem, 6vw, 2rem); }

  /* ── Nav CTA: shorten text via content replacement ───── */
  .nav-cta { font-size: .7rem; padding: 7px 13px; }
}

@media (max-width: 480px) {
  /* Extra-small: further tighten cards */
  .project-card,
  .blog-card,
  .creative-card { padding: 14px 13px; }

  .edu-card { padding: 18px 16px; }

  /* Stack skill rows on very small screens */
  .skills-row-label { font-size: .78rem; }
}

/* --- UI FEEDBACK STATES ------------------------------- */
.empty-state, .error-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  width: 100%;
  grid-column: 1 / -1; /* To span full width in grids */
}
.error-state {
  color: #ff5555;
  border-color: rgba(255, 85, 85, 0.3);
  background: rgba(255, 85, 85, 0.05);
}
.empty-state svg, .error-state svg {
  margin-bottom: 12px;
  opacity: 0.7;
}
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  background: var(--surface);
  color: var(--text);
  padding: 12px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateY(20px);
  opacity: 0;
  animation: toast-in 0.3s forwards cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto;
}
.toast.success {
  border-left: 4px solid var(--green);
}
.toast.error {
  border-left: 4px solid #ff5555;
}
.toast.fade-out {
  animation: toast-out 0.3s forwards;
}
@keyframes toast-in {
  to { transform: translateY(0); opacity: 1; }
}
@keyframes toast-out {
  to { transform: translateY(-10px); opacity: 0; }
}

/* Error Banner Data */
.data-error-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ff5555;
  color: #fff;
  text-align: center;
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  z-index: 9999;
}