:root {
    --bg: #0a0608;
    --bg2: #0e080c;
    --surface: rgba(255, 255, 255, 0.04);
    --surface2: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.07);
    --border2: rgba(255, 255, 255, 0.14);
    --text: #f0e6ee;
    --text2: #9e8fa0;
    --text3: #4d3f50;
    --rose: #f43f7a;
    --violet: #9b59f5;
    --pink: #fb7bb8;
    --orchid: #c084fc;
    --amber: #fbbf24;
    --grad: linear-gradient(135deg, #f43f7a 0%, #9b59f5 100%);
    --grad2: linear-gradient(135deg, #fb7bb8 0%, #c084fc 100%);
    --grad3: linear-gradient(135deg, #9b59f5 0%, #f43f7a 100%);
    --font-head: 'Bebas Neue', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --font-body: 'DM Sans', sans-serif;
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── LIGHT THEME ── */
body.light-mode {
  --bg:      #f8f4f6;
  --bg2:     #f0eaf3;
  --surface: rgba(0,0,0,0.04);
  --surface2:rgba(0,0,0,0.07);
  --border:  rgba(0,0,0,0.10);
  --border2: rgba(0,0,0,0.18);
  --text:    #1a0e1a;
  --text2:   #5a4460;
  --text3:   #a890b0;
}
body.light-mode #mainNav.scrolled {
  background: rgba(248,244,246,.92) !important;
}
body.light-mode .hero-img-badge {
  background: rgba(248,244,246,.96);
}
body.light-mode #hero::after {
  background: radial-gradient(ellipse at 35% 50%, transparent 40%, var(--bg) 90%);
}

/* smooth transition when toggling */
body, body * {
  transition: background-color .35s ease, border-color .35s ease, color .35s ease !important;
}
/* keep animations unaffected */
#blob, #blob-outer, .hero-name, .hero-tag, .hero-sub, .hero-btns {
  transition: none !important;
}

/* ── TOGGLE BUTTON ── */
#themeToggle {
  position: relative;
  width: 52px; height: 28px;
  background: var(--surface2);
  border: 1.5px solid var(--border2);
  border-radius: 50px;
  cursor: pointer;
  outline: none;
  padding: 0;
  flex-shrink: 0;
}
#themeToggle .toggle-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; line-height: 1;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
  box-shadow: 0 2px 8px rgba(244,63,122,.4);
}
body.light-mode #themeToggle .toggle-thumb {
  transform: translateX(24px);
}


body.light-mode #profilePhoto {
  filter: brightness(0.92) contrast(1.05) saturate(1.1);
  border-color: rgba(244, 63, 122, 0.5);
  box-shadow: 0 0 0 1px rgba(155,89,245,0.2), 0 24px 80px rgba(244,63,122,0.2);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    cursor: none;
    overflow-x: hidden;
}

/* ── CURSOR ── */
#blob {
    position: fixed;
    width: 26px;
    height: 26px;
    background: var(--grad);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
    filter: blur(1px);
    transition: width .25s var(--ease), height .25s var(--ease), border-radius .3s var(--ease);
}

#blob-outer {
    position: fixed;
    width: 58px;
    height: 58px;
    border: 1.5px solid rgba(244, 63, 122, .35);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width .4s var(--ease), height .4s var(--ease), border-color .3s, border-radius .4s var(--ease);
}

body.hovering #blob {
    width: 48px;
    height: 48px;
    border-radius: 38% 62% 52% 48%/44% 54% 60% 40%;
    filter: blur(2px);
}

body.hovering #blob-outer {
    width: 80px;
    height: 80px;
    border-color: rgba(155, 89, 245, .55);
    border-radius: 40% 60% 55% 45%/45% 55% 60% 40%;
}

body.clicking #blob {
    width: 18px;
    height: 18px;
    filter: blur(0);
}

@media(max-width:768px) {

    #blob,
    #blob-outer {
        display: none;
    }

    body {
        cursor: auto;
    }
}

/* ── LOADER ── */
#loader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 18px;
}

.loader-logo {
    font-family: var(--font-head);
    font-size: 56px;
    letter-spacing: 5px;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoPulse 1.4s ease infinite;
}

@keyframes logoPulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .35
    }
}

.loader-bar {
    width: 160px;
    height: 2px;
    background: rgba(255, 255, 255, .08);
    border-radius: 2px;
    overflow: hidden;
}

.loader-fill {
    height: 100%;
    background: var(--grad);
    width: 0%;
    transition: width .06s linear;
}

.loader-pct {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text3);
    letter-spacing: 2px;
}

/* ── NAVBAR ── */
/* #mainNav {
    padding: 20px 0;
    transition: padding .3s, background .3s, border-color .3s;
    border-bottom: 1px solid transparent;
}

#mainNav.scrolled {
    padding: 12px 0;
    background: rgba(10, 6, 8, .88) !important;
    backdrop-filter: blur(24px);
    border-bottom-color: var(--border);
} */

#mainNav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;

  padding: 20px 0;
  background: transparent;
  transition: all 0.3s ease;
}

/* ON SCROLL */
#mainNav.scrolled {
  padding: 12px 0;
  background: rgba(10, 6, 8, .88) !important;
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

@media(max-width:991px){
  #mainNav{
    /* background: rgba(10, 6, 8, 0.95) !important; */
    backdrop-filter: blur(10px);
  }
}

.nav-logo {
    font-family: var(--font-head);
    font-size: 26px;
    letter-spacing: 3px;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.nav-link-custom {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text2) !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 4px 0 !important;
    position: relative;
    transition: color .2s;
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--rose);
    transition: width .3s;
}

.nav-link-custom:hover {
    color: var(--text) !important;
}

.nav-link-custom:hover::after {
    width: 100%;
}

.nav-cta {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--rose) !important;
    border: 1px solid var(--rose);
    padding: 8px 20px !important;
    border-radius: 2px;
    text-decoration: none;
    transition: background .2s, color .2s;
}

.nav-cta:hover {
    background: var(--rose);
    color: #fff !important;
}

.navbar-toggler {
    border-color: var(--border2);
}

.navbar-toggler-icon {
    filter: invert(1);
}

/* ── HERO ── */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
}

#hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(ellipse at 35% 50%, transparent 40%, var(--bg) 90%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--rose);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 22px;
    opacity: 0;
    transform: translateY(16px);
}

.hero-tag-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--rose);
    animation: dotPulse 1.8s ease infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(244, 63, 122, .7);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(244, 63, 122, 0);
    }
}

.hero-name {
    font-family: var(--font-head);
    font-size: clamp(60px, 8vw, 120px);
    line-height: .9;
    letter-spacing: 3px;
    margin-bottom: 22px;
    opacity: 0;
    transform: translateY(30px);
}

.hero-name .line1 {
    display: block;
    color: var(--text);
}

.hero-name .line2 {
    display: block;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-family: var(--font-mono);
    font-size: clamp(13px, 1.5vw, 16px);
    color: var(--text2);
    margin-bottom: 40px;
    min-height: 26px;
    opacity: 0;
    transform: translateY(16px);
}

#typing-cursor {
    color: var(--rose);
    animation: blink .8s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0
    }
}

.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(16px);
}

.btn-rose {
    padding: 14px 36px;
    background: var(--grad);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    border-radius: 3px;
    text-decoration: none;
    display: inline-block;
    transition: opacity .2s, transform .2s, box-shadow .2s;
    box-shadow: 0 0 36px rgba(244, 63, 122, .35);
}

.btn-rose:hover {
    opacity: .85;
    transform: translateY(-3px);
    box-shadow: 0 10px 48px rgba(244, 63, 122, .45);
    color: #fff;
}

.btn-ghost {
    padding: 14px 36px;
    border: 1px solid var(--border2);
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 3px;
    text-decoration: none;
    display: inline-block;
    transition: border-color .2s, background .2s, transform .2s;
}

.btn-ghost:hover {
    border-color: var(--rose);
    background: rgba(244, 63, 122, .08);
    transform: translateY(-3px);
    color: var(--text);
}

.hero-stat-num {
    font-family: var(--font-head);
    font-size: 36px;
    letter-spacing: 1px;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text3);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* hero image */
.hero-image-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(40px);
}

.hero-image-wrap::before {
    content: '';
    position: absolute;
    inset: -14px;
    border-radius: 38% 62% 54% 46%/46% 40% 60% 54%;
    border: 1.5px solid rgba(244, 63, 122, .25);
    animation: frameRotate 14s linear infinite;
    z-index: 0;
}

.hero-image-wrap::after {
    content: '';
    position: absolute;
    inset: -28px;
    border-radius: 50% 50% 40% 60%/60% 40% 60% 40%;
    border: 1px dashed rgba(155, 89, 245, .18);
    animation: frameRotate 22s linear infinite reverse;
    z-index: 0;
}

@keyframes frameRotate {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

.hero-img-glow {
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle at 50%, rgba(244, 63, 122, .18), rgba(155, 89, 245, .12) 50%, transparent 75%);
    border-radius: 50%;
    filter: blur(24px);
    z-index: 0;
    animation: glowPulse 4s ease infinite alternate;
}

@keyframes glowPulse {
    0% {
        opacity: .7;
        transform: scale(.95)
    }

    100% {
        opacity: 1;
        transform: scale(1.05)
    }
}

.hero-img-container {
    position: relative;
    z-index: 1;
    width: 360px;
    height: 440px;
    border-radius: 42% 58% 55% 45%/45% 42% 58% 55%;
    overflow: hidden;
    border: 2px solid rgba(244, 63, 122, .3);
    box-shadow: 0 0 0 1px rgba(155, 89, 245, .15), 0 24px 80px rgba(0, 0, 0, .6);
    animation: blobShape 8s ease infinite alternate;
    background: linear-gradient(160deg, rgba(244, 63, 122, .08), rgba(155, 89, 245, .12));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
}

@keyframes blobShape {
    0% {
        border-radius: 42% 58% 55% 45%/45% 42% 58% 55%;
    }

    33% {
        border-radius: 55% 45% 42% 58%/58% 55% 45% 42%;
    }

    66% {
        border-radius: 48% 52% 60% 40%/40% 60% 48% 52%;
    }

    100% {
        border-radius: 42% 58% 55% 45%/45% 42% 58% 55%;
    }
}

.hero-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform .5s var(--ease);
}

.hero-img-container:hover img {
    transform: scale(1.04);
}

.hero-img-placeholder {
    font-size: 80px;
    opacity: .35;
}

.hero-img-placeholder-label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text3);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
}

.hero-img-badge {
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(10, 6, 8, .92);
    border: 1px solid rgba(244, 63, 122, .35);
    border-radius: 40px;
    backdrop-filter: blur(12px);
    white-space: nowrap;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .4), 0 0 20px rgba(244, 63, 122, .12);
}

.hero-img-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--rose);
    animation: dotPulse 1.8s ease infinite;
}

.hero-img-badge-text {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text);
    letter-spacing: 1.5px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text3);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.scroll-bar {
    width: 52px;
    height: 1px;
    background: var(--text3);
    overflow: hidden;
    position: relative;
}

.scroll-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--rose);
    animation: scrollSlide 2s ease infinite;
}

@keyframes scrollSlide {
    0% {
        left: -100%
    }

    100% {
        left: 100%
    }
}

/* ── SECTIONS ── */
.section-wrap {
    padding: 120px 0;
}

.section-bg2 {
    background: var(--bg2);
}

.section-num {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--rose);
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(46px, 6vw, 78px);
    letter-spacing: 2px;
    line-height: 1;
    color: var(--text);
}

.section-title .accent {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-line {
    width: 56px;
    height: 2px;
    background: var(--grad);
    margin-top: 18px;
}

/* ── ABOUT ── */
.about-text p {
    color: var(--text2);
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 18px;
}

.about-text p strong {
    color: var(--text);
    font-weight: 600;
}

.about-highlight {
    margin-top: 28px;
    padding: 18px 22px;
    border-left: 3px solid var(--rose);
    background: rgba(244, 63, 122, .05);
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--rose);
    line-height: 1.7;
    border-radius: 0 4px 4px 0;
}

.about-card {
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    height: 100%;
    transition: border-color .3s, transform .3s, background .3s;
}

.about-card:hover {
    border-color: rgba(244, 63, 122, .35);
    background: var(--surface2);
    transform: translateY(-4px);
}

.about-card-icon {
    font-size: 26px;
    margin-bottom: 10px;
}

.about-card-title {
    font-family: var(--font-head);
    font-size: 20px;
    letter-spacing: 1px;
    color: var(--text);
    margin-bottom: 6px;
}

.about-card-desc {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text2);
    line-height: 1.55;
}

/* ── SKILLS ── */
.skill-category {
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    height: 100%;
    transition: border-color .3s, transform .3s;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--grad);
    transform: scaleX(0);
    transition: transform .4s ease;
    transform-origin: left;
}

.skill-category:hover {
    border-color: rgba(244, 63, 122, .3);
    transform: translateY(-6px);
}

.skill-category:hover::before {
    transform: scaleX(1);
}

.skill-cat-title {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--rose);
    margin-bottom: 20px;
}

.skill-tag {
    display: inline-block;
    padding: 6px 13px;
    background: rgba(244, 63, 122, .08);
    border: 1px solid rgba(244, 63, 122, .18);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text);
    transition: background .2s, border-color .2s, color .2s;
    cursor: default;
    margin: 4px 4px 0 0;
}

.skill-tag:hover {
    background: rgba(244, 63, 122, .18);
    border-color: var(--rose);
    color: var(--pink);
}

.skill-tag.v {
    background: rgba(155, 89, 245, .08);
    border-color: rgba(155, 89, 245, .2);
}

.skill-tag.v:hover {
    background: rgba(155, 89, 245, .18);
    border-color: var(--violet);
    color: var(--orchid);
}

.skill-tag.o {
    background: rgba(251, 187, 36, .08);
    border-color: rgba(251, 187, 36, .2);
}

.skill-tag.o:hover {
    background: rgba(251, 187, 36, .18);
    border-color: var(--amber);
    color: var(--amber);
}

/* ── PROJECTS ── */
.project-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color .3s, transform .3s, box-shadow .3s;
    cursor: pointer;
    height: 100%;
}

.project-card:hover {
    border-color: rgba(244, 63, 122, .4);
    transform: translateY(-8px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, .5), 0 0 0 1px rgba(244, 63, 122, .1);
}

.project-preview {
    height: 178px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
}

.project-icon-bg {
    font-size: 60px;
    opacity: .12;
    position: absolute;
    transform: rotate(-12deg);
    transition: transform .4s ease, opacity .4s ease;
}

.project-card:hover .project-icon-bg {
    transform: rotate(0) scale(1.15);
    opacity: .22;
}

.project-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 10px;
    background: rgba(244, 63, 122, .15);
    border: 1px solid rgba(244, 63, 122, .35);
    border-radius: 20px;
    color: var(--pink);
}

.project-topline {
    height: 2px;
    background: var(--grad);
}

.project-body {
    padding: 26px;
}

.project-number {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text3);
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.project-title {
    font-family: var(--font-head);
    font-size: 26px;
    letter-spacing: 1px;
    color: var(--text);
    margin-bottom: 10px;
    transition: color .2s;
}

.project-card:hover .project-title {
    color: var(--pink);
}

.project-desc {
    color: var(--text2);
    font-size: 13px;
    line-height: 1.75;
    margin-bottom: 16px;
}

.project-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--text2);
    margin-bottom: 6px;
}

.project-feature::before {
    content: '→';
    color: var(--rose);
    flex-shrink: 0;
    font-family: var(--font-mono);
}

.stack-badge {
    display: inline-block;
    padding: 4px 10px;
    margin: 3px 3px 0 0;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text2);
}

/* ── TIMELINE ── */
.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding: 0 0 56px 48px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -6px;
    top: 6px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--rose);
    border: 2px solid var(--bg);
    box-shadow: 0 0 20px rgba(244, 63, 122, .7);
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--rose);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.timeline-role {
    font-family: var(--font-head);
    font-size: 32px;
    letter-spacing: 1px;
    color: var(--text);
    margin-bottom: 4px;
}

.timeline-company {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text2);
    margin-bottom: 14px;
}

.timeline-desc {
    color: var(--text2);
    font-size: 14px;
    line-height: 1.8;
}

.timeline-tag {
    display: inline-block;
    padding: 4px 12px;
    margin: 8px 6px 0 0;
    background: rgba(244, 63, 122, .08);
    border: 1px solid rgba(244, 63, 122, .2);
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--pink);
}

.achievement-card {
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
    height: 100%;
    transition: border-color .3s, transform .3s;
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad);
    opacity: 0;
    transition: opacity .3s;
}

.achievement-card:hover {
    border-color: rgba(244, 63, 122, .35);
    transform: translateY(-4px);
}

.achievement-card:hover::before {
    opacity: .04;
}

.achievement-num {
    font-family: var(--font-head);
    font-size: 52px;
    letter-spacing: 2px;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.achievement-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text2);
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    margin-top: 6px;
}

/* ── CONTACT ── */
.contact-icon {
    width: 42px;
    height: 42px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: border-color .2s;
}

.contact-detail:hover .contact-icon {
    border-color: rgba(244, 63, 122, .4);
}

.contact-detail-text {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text);
}

.contact-info-text {
    color: var(--text2);
    font-size: 16px;
    line-height: 1.85;
}

.form-label-custom {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text2);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: block;
}

.form-control-custom {
    background: var(--surface) !important;
    border: 1px solid var(--border) !important;
    border-radius: 6px !important;
    padding: 13px 16px !important;
    color: var(--text) !important;
    font-family: var(--font-body);
    font-size: 15px;
    outline: none;
    transition: border-color .2s, background .2s;
}

.form-control-custom:focus {
    border-color: var(--rose) !important;
    background: rgba(244, 63, 122, .04) !important;
    box-shadow: none !important;
    color: var(--text) !important;
}

.form-control-custom::placeholder {
    color: var(--text3);
}

.btn-submit-custom {
    width: 100%;
    padding: 16px;
    background: var(--grad);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity .2s, transform .2s, box-shadow .2s;
    box-shadow: 0 0 36px rgba(244, 63, 122, .3);
}

.btn-submit-custom:hover {
    opacity: .85;
    transform: translateY(-2px);
    box-shadow: 0 10px 48px rgba(244, 63, 122, .4);
}

/* ── FOOTER ── */
footer {
    border-top: 1px solid var(--border);
    padding: 36px 0;
}

.footer-copy {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text3);
}

.footer-link {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text2);
    text-decoration: none;
    transition: color .2s;
    letter-spacing: 1px;
}

.footer-link:hover {
    color: var(--rose);
}

/* ── BG ORBS ── */
.orb {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(100px);
    opacity: .1;
}

.orb1 {
    width: 600px;
    height: 600px;
    background: var(--violet);
    top: -220px;
    right: -220px;
}

.orb2 {
    width: 460px;
    height: 460px;
    background: var(--rose);
    bottom: 10%;
    left: -180px;
}

.orb3 {
    width: 300px;
    height: 300px;
    background: var(--orchid);
    top: 40%;
    right: 10%;
}

/* ── REVEAL ── */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-d1 {
    transition-delay: .1s;
}

.reveal-d2 {
    transition-delay: .2s;
}

.reveal-d3 {
    transition-delay: .3s;
}

.reveal-d4 {
    transition-delay: .4s;
}

/* scrollbar */
::-webkit-scrollbar {
    width: 3px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--rose);
    border-radius: 2px;
}

.about-card-icon i {
    font-size: 28px;
    background: linear-gradient(135deg, #f43f7a, #9b59f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-card:hover .about-card-icon i {
    transform: scale(1.2);
    color: var(--violet);
}

/* =========================== FLOATING SKILLS =========================== */
/* ── FLOATING SKILL ICONS ── */
.skill-float {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--surface2);
  border: 1px solid var(--border2);
  backdrop-filter: blur(10px);
  padding: 10px 14px;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text2);
  letter-spacing: 1px;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  animation: floatBob var(--dur, 6s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  opacity: 0.5;
  transition: opacity 0.3s;
  user-select: none;
}
.skill-float img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border-radius: 4px;
}
.skill-float:hover {
  opacity: 1;
  pointer-events: auto;
}

/* bob up and down animation */
@keyframes floatBob {
  0%, 100% { transform: translateY(0px) rotate(var(--rot, 0deg));}
  50% { transform: translateY(-18px) rotate(var(--rot, 0deg)); }
}

/* positions — tweak these freely */
.sf-python   { top: 18%; right: 6%;  --dur:6.2s; --delay:0.0s; --rot:-4deg; }
.sf-django   { top: 35%; right: 2%;  --dur:7.0s; --delay:0.8s; --rot: 3deg; }
.sf-js       { top: 55%; right: 1%;  --dur:5.8s; --delay:1.4s; --rot:-2deg; }
.sf-mysql    { top: 70%; right: 3%;  --dur:6.5s; --delay:0.4s; --rot: 5deg; }
.sf-html     { top: 20%; left: 52%;  --dur:6.8s; --delay:1.0s; --rot: 3deg; }
.sf-css      { top: 42%; left: 50%;  --dur:5.5s; --delay:1.8s; --rot:-3deg; }
.sf-bootstrap{ top: 62%; left: 49%;  --dur:7.2s; --delay:0.6s; --rot: 2deg; }
.sf-rest     { top: 80%; right: 12%; --dur:6.0s; --delay:1.2s; --rot:-5deg; }

/* hide on small screens so they don't overlap content */
@media(max-width: 991px) {
  .skill-float { display: none; }
}


/* ── PROJECT PREVIEW SCREENSHOTS ── */
.project-preview {
  position: relative;
  overflow: hidden;
  height: 200px; /* normal height */
  background: var(--bg2);
}

/* normal screenshot — always visible */
.screenshot-normal {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: opacity .4s ease;
  z-index: 1;
}

/* long screenshot container — hidden by default */
.screenshot-scroll-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 2;
  opacity: 0;
  transition: opacity .4s ease;
}

/* the long image inside — starts at top, scrolls down on hover */
.screenshot-long {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
  will-change: transform;
}

/* dark gradient overlay on hover */
.preview-hover-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(
    to bottom,
    transparent 60%,
    rgba(10,6,8,.6) 100%
  );
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}

/* ON HOVER — swap images + trigger scroll */
.project-card:hover .screenshot-normal       { opacity: 0; }
.project-card:hover .screenshot-scroll-wrap  { opacity: 1; }
.project-card:hover .preview-hover-overlay   { opacity: 1; }

/* JS will set this dynamically — see Step 3 */
.project-card:hover .screenshot-long {
  top: var(--scroll-end, 0px);
  transition: top 8s linear; /* ← transition ONLY on hover */
}

.project-card:not(:hover) .screenshot-long {
  top: 0;
  transition: top 0.4s ease; /* ← quick reset when mouse leaves */
}

/* ── SINGLE LIVE BUTTON ── */
.project-actions {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 4px;
}

.btn-live {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  transition: opacity .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 0 24px rgba(244,63,122,.25);
}
.btn-live:hover {
  opacity: .88;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(244,63,122,.45);
  color: #fff;
}
.btn-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  animation: livePulse 1.6s ease infinite;
}
@keyframes livePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); }
  50%      { box-shadow: 0 0 0 5px rgba(255,255,255,0); }
}