

#intro {

    position: fixed;

    inset: 0;

    width: 100%;
    height: 100vh;

    overflow: hidden;

    background: #000;

    z-index: 999999;

    color: white;

    isolation: isolate;

}


/* =====================================================
   DARK BACKGROUND
===================================================== */

.intro-bg {

    position: absolute;

    inset: 0;

    background:

        radial-gradient(
            circle at 50% 60%,
            rgba(57, 0, 120, 0.35),
            transparent 30%
        ),

        radial-gradient(
            circle at 50% 40%,
            rgba(0, 60, 160, 0.2),
            transparent 40%
        ),

        #000;

    z-index: -5;

}


/* =====================================================
   PURPLE GLOW
===================================================== */

.purple-glow {

    position: absolute;

    width: 600px;
    height: 600px;

    left: 50%;
    top: 55%;

    transform: translate(-50%, -50%);

    background:

        radial-gradient(
            circle,
            rgba(156, 0, 255, 0.45),
            transparent 65%
        );

    filter: blur(70px);

    opacity: 0;

    animation:

        atmosphereAppear
        2s
        ease
        forwards;

    animation-delay: 1.5s;

}


/* =====================================================
   BLUE GLOW
===================================================== */

.blue-glow {

    position: absolute;

    width: 550px;
    height: 550px;

    left: 50%;
    top: 55%;

    transform: translate(-50%, -50%);

    background:

        radial-gradient(
            circle,
            rgba(0, 128, 255, 0.4),
            transparent 65%
        );

    filter: blur(80px);

    opacity: 0;

    animation:

        atmosphereAppear
        2s
        ease
        forwards;

    animation-delay: 2s;

}


@keyframes atmosphereAppear {

    from {

        opacity: 0;

        transform:
            translate(-50%, -50%)
            scale(.5);

    }

    to {

        opacity: 1;

        transform:
            translate(-50%, -50%)
            scale(1);

    }

}


/* =====================================================
   GIRL
===================================================== */

.intro-girl {

    position: absolute;

    z-index: 10;

    width: min(430px, 42vw);

    max-height: 75vh;

    object-fit: contain;

    left: -500px;

    bottom: -100px;

    opacity: 0;

    filter:

        drop-shadow(0 0 12px rgba(0, 174, 255, .9))
        drop-shadow(0 0 30px rgba(153, 0, 255, .8));

    animation:

        girlEntrance
        3.8s
        cubic-bezier(.15, .75, .2, 1)
        forwards;

    animation-delay: 1.7s;

}


/* Girl flies into center */

@keyframes girlEntrance {

    0% {

        left: -500px;

        bottom: -100px;

        opacity: 0;

        transform:
            rotate(-18deg)
            scale(.6);

    }

    25% {

        opacity: 1;

    }

    55% {

        left: 32%;

        bottom: 28%;

        transform:
            rotate(-7deg)
            scale(.85);

    }

    100% {

        left: 50%;

        bottom: 10%;

        opacity: 1;

        transform:
            translateX(-50%)
            rotate(0deg)
            scale(1);

    }

}


/* =====================================================
   LIGHTNING
===================================================== */

.bolt {

    position: absolute;

    top: -20%;

    width: 5px;

    height: 145%;

    opacity: 0;

    z-index: 8;

    transform: rotate(12deg);

}


/* Blue lightning */

.bolt-1,
.bolt-3 {

    background: #00aaff;

    box-shadow:

        0 0 8px #00aaff,
        0 0 25px #0088ff,
        0 0 60px #0055ff;

}


/* Purple lightning */

.bolt-2,
.bolt-4 {

    background: #c000ff;

    box-shadow:

        0 0 8px #c000ff,
        0 0 25px #9500ff,
        0 0 60px #6500ff;

}


/* Positions */

.bolt-1 {

    left: 22%;

    animation:
        lightningFlash
        5s
        linear
        infinite;

    animation-delay: 4.2s;

}


.bolt-2 {

    right: 22%;

    transform: rotate(-14deg);

    animation:
        lightningFlash
        5s
        linear
        infinite;

    animation-delay: 4.5s;

}


.bolt-3 {

    left: 72%;

    transform: rotate(9deg);

    animation:
        lightningFlash
        5s
        linear
        infinite;

    animation-delay: 5s;

}


.bolt-4 {

    right: 65%;

    transform: rotate(-10deg);

    animation:
        lightningFlash
        5s
        linear
        infinite;

    animation-delay: 5.3s;

}


@keyframes lightningFlash {

    0%,
    70%,
    100% {

        opacity: 0;

    }

    72% {

        opacity: 1;

    }

    73% {

        opacity: 0;

    }

    74% {

        opacity: .9;

    }

    76% {

        opacity: 0;

    }

}


/* =====================================================
   GROUND
===================================================== */

.ground {

    position: absolute;

    z-index: 5;

    width: 130%;

    height: 45%;

    left: 50%;

    bottom: -25%;

    transform:

        translateX(-50%)
        perspective(600px)
        rotateX(65deg);

    border-radius: 50%;

    background:

        radial-gradient(
            ellipse at center,
            rgba(84, 0, 255, .55),
            rgba(0, 80, 255, .15),
            transparent 65%
        );

    box-shadow:

        0 -10px 70px
        rgba(0, 120, 255, .45);

}


/* =====================================================
   GROUND CRACKS
===================================================== */

.crack {

    position: absolute;

    z-index: 7;

    height: 3px;

    transform-origin: left center;

    transform: scaleX(0);

    opacity: 0;

    background:

        linear-gradient(
            90deg,
            transparent,
            #00aaff,
            #c000ff,
            transparent
        );

    box-shadow:

        0 0 8px #00aaff,
        0 0 20px #8b00ff,
        0 0 35px #8b00ff;

    animation:

        crackOpen
        1.3s
        cubic-bezier(.1,.8,.2,1)
        forwards;

    animation-delay: 4.8s;

}


/* Crack 1 */

.crack-1 {

    width: 350px;

    left: 50%;

    bottom: 19%;

    transform-origin: left;

    rotate: 18deg;

}


/* Crack 2 */

.crack-2 {

    width: 270px;

    left: 49%;

    bottom: 20%;

    rotate: -32deg;

}


/* Crack 3 */

.crack-3 {

    width: 300px;

    left: 51%;

    bottom: 18%;

    rotate: 65deg;

}


/* Crack 4 */

.crack-4 {

    width: 240px;

    left: 47%;

    bottom: 21%;

    rotate: -65deg;

}


/* Crack 5 */

.crack-5 {

    width: 190px;

    left: 53%;

    bottom: 23%;

    rotate: 100deg;

}


@keyframes crackOpen {

    0% {

        transform: scaleX(0);

        opacity: 0;

    }

    20% {

        opacity: 1;

    }

    100% {

        transform: scaleX(1);

        opacity: 1;

    }

}


/* =====================================================
   ENERGY EXPLOSION
===================================================== */

.energy-explosion {

    position: absolute;

    z-index: 9;

    width: 40px;

    height: 40px;

    left: 50%;

    bottom: 17%;

    border-radius: 50%;

    border: 3px solid #00aaff;

    box-shadow:

        0 0 15px #00aaff,
        0 0 35px #8b00ff,
        inset 0 0 25px #c000ff;

    transform:
        translate(-50%, 50%)
        scale(0);

    opacity: 0;

    animation:

        energyBlast
        2s
        ease-out
        forwards;

    animation-delay: 4.7s;

}


@keyframes energyBlast {

    0% {

        transform:
            translate(-50%, 50%)
            scale(0);

        opacity: 1;

    }

    70% {

        opacity: .7;

    }

    100% {

        transform:
            translate(-50%, 50%)
            scale(13);

        opacity: 0;

    }

}


/* =====================================================
   PARTICLES
===================================================== */

.particles {

    position: absolute;

    inset: 0;

    z-index: 6;

    background-image:

        radial-gradient(
            circle,
            rgba(0, 174, 255, .8) 1px,
            transparent 2px
        ),

        radial-gradient(
            circle,
            rgba(190, 0, 255, .8) 1px,
            transparent 2px
        );

    background-size:

        80px 80px,
        120px 120px;

    opacity: 0;

    animation:

        particlesAppear
        2s
        ease
        forwards;

    animation-delay: 2.5s;

}


@keyframes particlesAppear {

    from {

        opacity: 0;

        transform: scale(.7);

    }

    to {

        opacity: .8;

        transform: scale(1);

    }

}


/* =====================================================
   WELCOME TEXT
===================================================== */
/* =========================================================
   FAIZA NOOR — CINEMATIC INTRO
========================================================= */

#cinematicIntro {

    position: fixed;

    inset: 0;

    width: 100vw;
    height: 100vh;

    min-height: 100svh;

    background: #010106;

    overflow: hidden;

    z-index: 2147483646;

    isolation: isolate;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    animation:
        introExit 1.5s ease 8.8s forwards;

}


/* =========================================================
   DARK BACKGROUND
========================================================= */

.intro-dark {

    position: absolute;

    inset: 0;

    background:

        radial-gradient(
            circle at center,
            rgba(40, 10, 80, .25),
            #010106 65%
        );

    z-index: -5;

}


/* =========================================================
   CODING SCREEN
========================================================= */

.coding-screen {

    position: absolute;

    inset: 0;

    padding: 7vh 7vw;

    background:

        linear-gradient(
            rgba(3, 5, 15, .92),
            rgba(3, 5, 15, .82)
        );

    opacity: 0;

    transform: scale(1.08);

    animation:
        codingReveal
        1.4s
        ease
        2.1s
        forwards;

}


/* Coding grid */

.coding-screen::before {

    content: "";

    position: absolute;

    inset: 0;

    background-image:

        linear-gradient(
            rgba(0, 230, 255, .035) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(168, 85, 247, .035) 1px,
            transparent 1px
        );

    background-size: 45px 45px;

}


/* Top bar */

.code-top {

    position: relative;

    display: flex;

    justify-content: space-between;

    color: #596275;

    font-family: monospace;

    font-size: 11px;

    letter-spacing: .15em;

}


/* Code */

.code-lines {

    position: relative;

    margin-top: 60px;

    font-family: monospace;

    font-size: clamp(
        9px,
        1.2vw,
        15px
    );

    line-height: 2.2;

    color: rgba(
        180,
        190,
        220,
        .28
    );

}


.code-lines p {

    margin: 0;

}


.code-lines span {

    color: rgba(
        0,
        240,
        255,
        .25
    );

    margin-right: 20px;

}


@keyframes codingReveal {

    from {

        opacity: 0;

        transform: scale(1.08);

    }

    to {

        opacity: 1;

        transform: scale(1);

    }

}


/* =========================================================
   ENERGY BALL
========================================================= */

.energy-ball {

    position: absolute;

    width: 100px;

    height: 100px;

    left: -130px;

    top: 50%;

    transform:
        translateY(-50%);

    border-radius: 50%;

    z-index: 10;

    animation:
        ballAttack
        1.8s
        cubic-bezier(.7,0,.2,1)
        .4s
        forwards;

}


.ball-core {

    position: absolute;

    inset: 18px;

    border-radius: 50%;

    background:

        radial-gradient(
            circle,
            #ffffff 0%,
            #00eaff 20%,
            #8b5cf6 50%,
            #26004d 75%,
            transparent 100%
        );

    box-shadow:

        0 0 15px white,
        0 0 35px #00eaff,
        0 0 70px #8b5cf6,
        0 0 130px #7c3aed;

}


/* Ball rings */

.ball-ring {

    position: absolute;

    inset: 0;

    border-radius: 50%;

    border: 2px solid transparent;

}


.ball-ring-1 {

    border-top-color: #00eaff;
    border-right-color: #a855f7;

    animation:
        spinIntro
        .8s
        linear
        infinite;

}


.ball-ring-2 {

    inset: -15px;

    border-left-color: #7c3aed;
    border-bottom-color: #00eaff;

    animation:
        spinIntro
        1.2s
        linear
        infinite
        reverse;

}


.ball-ring-3 {

    inset: -30px;

    border-top-color: rgba(
        0,
        234,
        255,
        .7
    );

    animation:
        spinIntro
        1.7s
        linear
        infinite;

}


/* Trail */

.ball-trail {

    position: absolute;

    right: 50px;

    top: 50%;

    width: 500px;

    height: 45px;

    transform:
        translateY(-50%);

    background:

        linear-gradient(
            90deg,
            transparent,
            rgba(168,85,247,.2),
            rgba(0,234,255,.7),
            transparent
        );

    filter: blur(12px);

}


/* Ball movement */

@keyframes ballAttack {

    0% {

        left: -130px;

        transform:
            translateY(-50%)
            scale(.7);

    }

    55% {

        left: 42%;

        transform:
            translateY(-50%)
            scale(1.15);

    }

    70% {

        left: 50%;

        transform:
            translateY(-50%)
            scale(1.4);

    }

    76% {

        left: 50%;

        transform:
            translateY(-50%)
            scale(2.8);

    }

    100% {

        left: 50%;

        transform:
            translateY(-50%)
            scale(0);

        opacity: 0;

    }

}


@keyframes spinIntro {

    to {
        transform: rotate(360deg);
    }

}


/* =========================================================
   IMPACT
========================================================= */

.impact {

    position: absolute;

    left: 50%;
    top: 50%;

    width: 20px;
    height: 20px;

    transform:
        translate(-50%, -50%);

    z-index: 8;

}


.impact-ring {

    position: absolute;

    inset: -10px;

    border-radius: 50%;

    border: 3px solid #00eaff;

    opacity: 0;

    animation:
        impactExplosion
        1.3s
        ease-out
        1.65s
        forwards;

}


.impact-ring-2 {

    border-color: #a855f7;

    animation-delay: 1.72s;

}


.impact-flash {

    position: absolute;

    width: 100vw;

    height: 100vh;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -50%);

    background:

        radial-gradient(
            circle,
            rgba(255,255,255,.9),
            rgba(0,234,255,.25) 12%,
            rgba(168,85,247,.12) 30%,
            transparent 60%
        );

    opacity: 0;

    animation:
        flashImpact
        .7s
        ease-out
        1.7s
        forwards;

}


@keyframes impactExplosion {

    0% {

        opacity: 1;

        transform: scale(.1);

    }

    100% {

        opacity: 0;

        transform: scale(40);

    }

}


@keyframes flashImpact {

    0% {
        opacity: 0;
    }

    25% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }

}


/* =========================================================
   BROKEN GLASS
========================================================= */

.glass-crack {

    position: absolute;

    width: 600px;
    height: 600px;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -50%)
        scale(.1);

    z-index: 9;

    opacity: 0;

    animation:
        crackAppear
        .8s
        ease-out
        1.8s
        forwards;

}


.crack {

    position: absolute;

    left: 50%;
    top: 50%;

    width: 2px;

    height: 300px;

    transform-origin:
        center bottom;

    background:

        linear-gradient(
            transparent,
            rgba(255,255,255,.9),
            rgba(0,234,255,.5),
            transparent
        );

    box-shadow:
        0 0 8px #00eaff;

}


.crack-1 {
    transform: rotate(0deg);
}

.crack-2 {
    transform: rotate(45deg);
}

.crack-3 {
    transform: rotate(90deg);
}

.crack-4 {
    transform: rotate(135deg);
}

.crack-5 {
    transform: rotate(180deg);
}

.crack-6 {
    transform: rotate(225deg);
}

.crack-7 {
    transform: rotate(270deg);
}

.crack-8 {
    transform: rotate(315deg);
}


@keyframes crackAppear {

    0% {

        opacity: 0;

        transform:
            translate(-50%, -50%)
            scale(.1);

    }

    50% {

        opacity: 1;

    }

    100% {

        opacity: .5;

        transform:
            translate(-50%, -50%)
            scale(1.5);

    }

}


/* =========================================================
   ELECTRIC LIGHTNING
========================================================= */

.electricity {

    position: absolute;

    inset: 0;

    z-index: 6;

    pointer-events: none;

}


.bolt {

    position: absolute;

    width: 4px;

    height: 70vh;

    opacity: 0;

    filter:

        drop-shadow(0 0 8px #00eaff)
        drop-shadow(0 0 20px #a855f7);

}


.bolt::before {

    content: "";

    position: absolute;

    inset: 0;

    background:

        linear-gradient(
            120deg,
            transparent 0%,
            #00eaff 30%,
            white 50%,
            #a855f7 70%,
            transparent 100%
        );

    clip-path:

        polygon(
            45% 0,
            65% 20%,
            45% 20%,
            75% 48%,
            50% 48%,
            80% 100%,
            35% 55%,
            55% 55%,
            25% 30%,
            48% 30%
        );

}


.bolt-1 {

    left: 8%;

    top: 10%;

    transform: rotate(12deg);

    animation:
        boltFlash
        2s
        ease
        2.3s
        infinite;

}


.bolt-2 {

    right: 10%;

    top: 5%;

    transform: rotate(-15deg);

    animation:
        boltFlash
        2s
        ease
        2.6s
        infinite;

}


.bolt-3 {

    left: 30%;

    bottom: -10%;

    transform: rotate(-25deg);

    animation:
        boltFlash
        2s
        ease
        2.9s
        infinite;

}


.bolt-4 {

    right: 30%;

    bottom: -10%;

    transform: rotate(25deg);

    animation:
        boltFlash
        2s
        ease
        3.2s
        infinite;

}


.bolt-5 {

    left: 50%;

    top: 0;

    height: 100vh;

    animation:
        boltFlash
        2s
        ease
        3.5s
        infinite;

}


@keyframes boltFlash {

    0%,
    75%,
    100% {
        opacity: 0;
    }

    78% {
        opacity: 1;
    }

    81% {
        opacity: .15;
    }

    84% {
        opacity: 1;
    }

    88% {
        opacity: 0;
    }

}


/* =========================================================
   PARTICLES
========================================================= */

.particles {

    position: absolute;

    inset: 0;

    z-index: 7;

    pointer-events: none;

}


.particles i {

    position: absolute;

    width: 3px;

    height: 3px;

    border-radius: 50%;

    background: #00eaff;

    box-shadow:
        0 0 8px #00eaff;

    opacity: 0;

    animation:
        particleFloat
        4s
        linear
        2.2s
        infinite;

}


.particles i:nth-child(3n) {

    background: #a855f7;

    box-shadow:
        0 0 8px #a855f7;

}


.particles i:nth-child(1) {
    left: 10%;
    top: 30%;
}

.particles i:nth-child(2) {
    left: 20%;
    top: 70%;
}

.particles i:nth-child(3) {
    left: 30%;
    top: 20%;
}

.particles i:nth-child(4) {
    left: 40%;
    top: 80%;
}

.particles i:nth-child(5) {
    left: 50%;
    top: 30%;
}

.particles i:nth-child(6) {
    left: 60%;
    top: 75%;
}

.particles i:nth-child(7) {
    left: 70%;
    top: 25%;
}

.particles i:nth-child(8) {
    left: 80%;
    top: 60%;
}

.particles i:nth-child(9) {
    left: 90%;
    top: 35%;
}

.particles i:nth-child(10) {
    left: 15%;
    top: 50%;
}

.particles i:nth-child(11) {
    left: 25%;
    top: 90%;
}

.particles i:nth-child(12) {
    left: 35%;
    top: 45%;
}

.particles i:nth-child(13) {
    left: 65%;
    top: 45%;
}

.particles i:nth-child(14) {
    left: 75%;
    top: 85%;
}

.particles i:nth-child(15) {
    left: 85%;
    top: 15%;
}

.particles i:nth-child(16) {
    left: 45%;
    top: 15%;
}

.particles i:nth-child(17) {
    left: 55%;
    top: 90%;
}

.particles i:nth-child(18) {
    left: 5%;
    top: 80%;
}

.particles i:nth-child(19) {
    left: 95%;
    top: 75%;
}

.particles i:nth-child(20) {
    left: 50%;
    top: 50%;
}


@keyframes particleFloat {

    0% {

        opacity: 0;

        transform:
            translateY(40px)
            scale(.5);

    }

    30% {
        opacity: 1;
    }

    70% {
        opacity: .7;
    }

    100% {

        opacity: 0;

        transform:
            translateY(-80px)
            scale(1.5);

    }

}




/* =========================================================
   FINAL TITLE
========================================================= */
/* =========================================
   FAIZA NOOR - WAVE LETTER ANIMATION
========================================= */
/* =========================================
   FAIZA NOOR — BRUSH / VILLAIN STYLE
========================================= */


/* Agar FAIZA aur NOOR ko alag colors chahiye */
.intro-title .faiza .faiza-word {
    color: #a855f7;

    text-shadow:
        3px 3px 0 #000,
        0 0 15px rgba(168,85,247,.7),
        0 0 35px rgba(168,85,247,.4);

}
.faiza{
    font-family: "Cinzel", "Times New Roman", serif;
    font-weight: 900;
    letter-spacing: 8px;
    text-transform: uppercase;

    color: #ffffff;
    text-shadow:
        0 0 5px rgba(255,255,255,0.25),
        0 4px 15px rgba(0,0,0,0.9);

    transform: scaleX(1.05);
}


/* NOOR */

.intro-title .faiza .noor-word {
    color: #ffffff;

    text-shadow:
        3px 3px 0 #000,
        0 0 15px rgba(255,255,255,.4);
}
.faiza.wave-name {
    display: inline-block;
}

.faiza.wave-name span {
    display: inline-block;
    animation: faizaWave 1.4s ease-in-out infinite;
}


/* Har letter thora thora delay se */

.faiza.wave-name span:nth-child(1) {
    animation-delay: 0s;
}

.faiza.wave-name span:nth-child(2) {
    animation-delay: 0.08s;
}

.faiza.wave-name span:nth-child(3) {
    animation-delay: 0.16s;
}

.faiza.wave-name span:nth-child(4) {
    animation-delay: 0.24s;
}

.faiza.wave-name span:nth-child(5) {
    animation-delay: 0.32s;
}

.faiza.wave-name span:nth-child(6) {
    animation-delay: 0.45s;
}

.faiza.wave-name span:nth-child(7) {
    animation-delay: 0.53s;
}

.faiza.wave-name span:nth-child(8) {
    animation-delay: 0.61s;
}

.faiza.wave-name span:nth-child(9) {
    animation-delay: 0.69s;
}

.faiza.wave-name span:nth-child(10) {
    animation-delay: 0.77s;
}


/* 🌊 Wave */

@keyframes faizaWave {

    0% {
        transform: translateY(0);
    }

    25% {
        transform: translateY(-22px);
    }

    50% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(0);
    }
}


.intro-title {
    position: absolute;


  top: 20%;
  left: 5%;

    

    transform: translate(-50%, -50%) scale(0.8);

    text-align: center;

    z-index: 9999;

    opacity: 0;

    animation:
        titleReveal
        1.5s
        cubic-bezier(.16,1,.3,1)
        4.2s
        forwards;

    box-sizing: border-box;
    padding: 0 20px;
    letter-spacing: 5px;
}

.intro-mini {

    color: #00eaff;

    font-family: monospace;

    font-size: clamp(
        20px,
        1.2vw,
        13px
    );

    letter-spacing: .4em;

    margin-bottom: 20px;

    text-shadow:
        0 0 20px #00eaff;

}
.intro-main {

    color: #00eaff;

    font-family: monospace;

    font-size: clamp(
        20px,
        1.2vw,
        13px
    );

    letter-spacing: 2px;

    margin-bottom: 20px;

    text-shadow:
        0 0 20px #00eaff;

}


.intro-title h1 {

    margin: 0;

    font-size: clamp(
        3rem,
        9vw,
        8rem
    );

    font-weight: 900;

    line-height: .85;

    letter-spacing: -.06em;

    color: white;

    text-shadow:

        0 0 15px rgba(255,255,255,.6),
        0 0 40px rgba(0,234,255,.35);

}


@keyframes nameReveal {

    0% {
        opacity: 0;
        transform: translateY(35px) scale(0.85);
        filter: blur(12px);
        letter-spacing: 25px;
    }

    60% {
        opacity: 1;
        filter: blur(0);
    }

    100% {
        transform: translateY(0) scale(1);
        letter-spacing: 8px;
    }
}
   
   

@keyframes villainName {

    0% {
        opacity: 0;
        transform: scaleX(0.1) scaleY(1.5);
        letter-spacing: 40px;
        filter: blur(15px);
    }

    50% {
        opacity: 1;
        transform: scaleX(1.15) scaleY(0.9);
        letter-spacing: 5px;
        filter: blur(0);
    }

    75% {
        transform: scaleX(0.95) scaleY(1.05);
    }

    100% {
        opacity: 1;
        transform: scaleX(1) scaleY(1);
        letter-spacing: 12px;
    }
}


.intro-title h2 {

    margin: 18px 0 5px;

    font-size: clamp(
        .8rem,
        2vw,
        1.5rem
    );

    letter-spacing: .5em;

    color: #d8d8e8;
    font-weight: 900}


.intro-title h3 {

    margin: 0;

    font-size: clamp(
        2.8rem,
        9vw,
        8rem
    );

    font-weight: 900;

    letter-spacing: -.05em;

    color: transparent;

    background:

        linear-gradient(
            90deg,
            #00eaff,
            #ffffff,
            #a855f7,
            #00eaff
        );

    background-size: 300%;

    -webkit-background-clip: text;

    background-clip: text;

    animation:
        titleGradient
        3s
        linear
        4.2s
        infinite;

    filter:

        drop-shadow(0 0 20px rgba(0,234,255,.6))
        drop-shadow(0 0 45px rgba(168,85,247,.5));

}


.title-line {

    width: min(420px, 65%);

    height: 2px;

    margin: 25px auto 15px;

    background:

        linear-gradient(
            90deg,
            transparent,
            #00eaff,
            #a855f7,
            #00eaff,
            transparent
        );

    box-shadow:

        0 0 15px #00eaff,
        0 0 30px #a855f7;

}


.intro-title p {
    

    color: #00eaff;

    font-family: monospace;

    font-size: clamp(
        25px,
        2vw,
        20px
    );

    letter-spacing: .25em;
    font-weight: bolder;}


@keyframes titleReveal {

    0% {

        opacity: 0;

        transform:
            translate(-50%, -50%)
            scale(.75);

        filter: blur(20px);

    }

    60% {

        opacity: 1;

        filter: blur(0);

    }

    100% {

        opacity: 1;

        transform:
            translate(-50%, -50%)
            scale(1);

        filter: blur(0);

    }

}


@keyframes titleGradient {

    from {
        background-position: 0%;
    }

    to {
        background-position: 300%;
    }

}


/* =========================================================
   INTRO EXIT
========================================================= */

@keyframes introExit {

    0% {

        opacity: 1;

        visibility: visible;

    }

    100% {

        opacity: 0;

        visibility: hidden;

        pointer-events: none;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .coding-screen {

        padding: 30px 20px;

    }


    .code-lines {

        margin-top: 40px;

        font-size: 8px;

        line-height: 2;

        opacity: .65;

    }


    .code-lines span {

        margin-right: 8px;

    }


    .energy-ball {

        width: 65px;

        height: 65px;

    }


    .ball-trail {

        width: 250px;

        right: 30px;

    }


    .glass-crack {

        width: 350px;

        height: 350px;

    }


    .intro-title {

        width: 95%;

    }


    .intro-mini {

        font-size: 7px;

        letter-spacing: .2em;

        margin-bottom: 14px;

    }


    .intro-title h1 {

        font-size: 14vw;

    }


    .intro-title h2 {

        font-size: 3.2vw;

        letter-spacing: .25em;

        margin: 12px 0 6px;

    }


    .intro-title h3 {

        font-size: 13vw;

    }


    .intro-title p {

        font-size: 6px;

        letter-spacing: .12em;

    }


    .title-line {

        width: 55%;

        margin: 18px auto 12px;

    }


    .bolt {

        height: 55vh;

    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .intro-title h1 {

        font-size: 13vw;

    }


    .intro-title h3 {

        font-size: 12vw;

    }


    .code-lines {

        font-size: 7px;

    }

}



/* =====================================================
   MAIN TITLE
===================================================== */

.welcome h1 {

    margin: 20px;

    max-width: 1000px;

    font-family:

        Arial,
        sans-serif;

    font-size:

        clamp(
            2.2rem,
            6vw,
            6.5rem
        );

    line-height: 1.05;

    font-weight: 900;

    letter-spacing: 18px;

    color: white;

    opacity: 0;

    transform:

        translateY(60px)
        scale(.65);

    filter: blur(18px);

    text-shadow:

        0 0 8px white,
        0 0 25px #00aaff,
        0 0 50px #7600ff,
        0 0 90px #7600ff;

    animation:

        titleReveal
        1.8s
        cubic-bezier(.16,.8,.2,1)
        forwards;

    animation-delay: 8s;

}


/* Portfolio word */

.welcome h1 span {

    display: block;

    margin-top: 15px;

    background:

        linear-gradient(
            90deg,
            #00aaff,
            white,
            #c000ff,
            white,
            #00aaff
        );

    background-size: 300%;

    -webkit-background-clip: text;

    background-clip: text;

    color: transparent;

    animation:

        titleGradient
        3s
        linear
        infinite;

}


/* Title reveal */

@keyframes titleReveal {

    0% {

        opacity: 0;

        transform:
            translateY(60px)
            scale(.65);

        filter: blur(18px);

        letter-spacing: 35px;

    }

    60% {

        opacity: 1;

        transform:
            translateY(-5px)
            scale(1.05);

        filter: blur(0);

    }

    100% {

        opacity: 1;

        transform:
            translateY(0)
            scale(1);

        filter: blur(0);

        letter-spacing: 7px;

    }

}


/* Gradient */

@keyframes titleGradient {

    0% {

        background-position: 0%;

    }

    100% {

        background-position: 300%;

    }

}



/* =====================================================
   TITLE LINE
===================================================== */

.welcome-line {

    width: 0;

    height: 2px;

    background:

        linear-gradient(
            90deg,
            transparent,
            #00aaff,
            #c000ff,
            #00aaff,
            transparent
        );

    box-shadow:

        0 0 15px #00aaff,
        0 0 30px #8b00ff;

    animation:

        lineReveal
        1s
        ease
        forwards;

    animation-delay: 9.1s;

}


@keyframes lineReveal {

    to {

        width: 320px;

    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {

    .intro-girl {

        width: 280px;

        bottom: 12%;

    }


    .welcome h1 {

        font-size: 2.1rem;

        letter-spacing: 4px;

        margin: 15px;

    }


    .welcome-small {

        font-size: 8px;

        letter-spacing: 4px;

    }


    .welcome-line {

        max-width: 220px;

    }

}

/* =========================================================
   01. ROOT VARIABLES
========================================================= */

:root {

    --bg-main: #050507;
    --bg-secondary: #09090d;
    --bg-card: rgba(15, 15, 23, 0.72);

    --text-main: #f5f5f7;
    --text-secondary: #a8a8b8;
    --text-muted: #666675;

    --purple: #a855f7;
    --purple-light: #d8a7ff;
    --purple-dark: #6d28d9;

    --cyan: #00f5ff;
    --blue: #3b82f6;
    --pink: #ff2bd6;

    --green: #00ff9d;

    --border: rgba(168, 85, 247, 0.25);
    --border-bright: rgba(168, 85, 247, 0.65);

    --glass: rgba(255, 255, 255, 0.035);

    --shadow-purple:
        0 0 25px rgba(168, 85, 247, 0.18);

    --shadow-cyan:
        0 0 25px rgba(0, 245, 255, 0.16);

    --container: 1250px;

    --transition: 0.35s cubic-bezier(.2,.8,.2,1);
}


/* =========================================================
   02. RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(
            circle at 50% -10%,
            rgba(168, 85, 247, 0.09),
            transparent 35%
        ),
        var(--bg-main);

    color: var(--text-main);

    font-family:
        Inter,
        "Segoe UI",
        Arial,
        sans-serif;

    line-height: 1.6;

    overflow-x: hidden;

   
}

body::selection {
    background: var(--purple);
    color: white;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: none;
}

ul {
    list-style: none;
}


/* =========================================================
   03. GLOBAL BACKGROUND
========================================================= */

.background-effects {
    position: fixed;
    inset: 0;

    pointer-events: none;

    z-index: -10;

    overflow: hidden;
}

.grid-background {
    position: absolute;
    inset: -100px;

    background-image:
        linear-gradient(
            rgba(168, 85, 247, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(168, 85, 247, 0.035) 1px,
            transparent 1px
        );

    background-size: 55px 55px;

    transform:
        perspective(500px)
        rotateX(55deg)
        scale(1.5);

    transform-origin: center bottom;

    mask-image:
        linear-gradient(
            to top,
            black,
            transparent 85%
        );
}

.glow {
    position: absolute;

    width: 450px;
    height: 450px;

    border-radius: 50%;

    filter: blur(100px);

    opacity: 0.12;

    animation: floatingGlow 9s ease-in-out infinite;
}

.glow-one {
    background: var(--purple);

    top: 5%;
    left: -150px;
}

.glow-two {
    background: var(--cyan);

    top: 45%;
    right: -180px;

    animation-delay: -3s;
}

.glow-three {
    background: var(--pink);

    bottom: -200px;
    left: 40%;

    animation-delay: -6s;
}

@keyframes floatingGlow {

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

    50% {
        transform: translate3d(40px, -30px, 0) scale(1.15);
    }
}


/* =========================================================
   04. PARTICLES
========================================================= */

.floating-particle {
    position: absolute;

    width: 3px;
    height: 3px;

    border-radius: 50%;

    background: var(--purple-light);

    box-shadow:
        0 0 10px var(--purple),
        0 0 20px var(--purple);

    animation:
        particleFloat
        linear
        infinite;
}

.particle-one {
    left: 8%;
    top: 30%;
    animation-duration: 8s;
}

.particle-two {
    left: 28%;
    top: 80%;
    animation-duration: 11s;
}

.particle-three {
    left: 67%;
    top: 20%;
    animation-duration: 9s;
}

.particle-four {
    right: 8%;
    top: 60%;
    animation-duration: 12s;
}

.particle-five {
    left: 52%;
    top: 50%;
    animation-duration: 10s;
}

@keyframes particleFloat {

    0% {
        transform:
            translateY(40px)
            translateX(0);

        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        transform:
            translateY(-350px)
            translateX(80px);

        opacity: 0;
    }
}


/* =========================================================
   05. PAGE LOADER
========================================================= */

.page-loader {
    position: fixed;

    inset: 0;

    z-index: 99999;

    background: #030305;

    display: flex;

    align-items: center;
    justify-content: center;

    animation:
        loaderDisappear
        1.5s
        2s
        forwards;

    pointer-events: none;
}

.loader-content {
    width: min(420px, 80%);

    text-align: center;
}

.loader-text {
    display: block;

    font-size: clamp(2rem, 7vw, 4rem);

    font-weight: 900;

    letter-spacing: 0.18em;

    color: white;

    text-shadow:
        0 0 10px var(--purple),
        0 0 30px var(--purple);
}

.loader-line {
    display: block;

    width: 100%;
    height: 2px;

    margin: 20px 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--purple),
            var(--cyan),
            transparent
        );

    transform-origin: left;

    animation:
        loaderLine
        1.6s
        ease
        infinite;
}

.loader-status {
    color: var(--text-muted);

    font-size: 0.7rem;

    letter-spacing: 0.25em;
}

@keyframes loaderLine {

    0% {
        transform: scaleX(0);
    }

    50% {
        transform: scaleX(1);
    }

    100% {
        transform: scaleX(0);
        transform-origin: right;
    }
}

@keyframes loaderDisappear {

    to {
        opacity: 0;
        visibility: hidden;
    }
}


/* =========================================================
   06. NAVIGATION
========================================================= */

.site-header {
    position: fixed;

    top: 0;
    left: 0;
    width: 100%;

    z-index: 1000;

    background:
        linear-gradient(
            to bottom,
            rgba(5,5,7,0.92),
            rgba(5,5,7,0.55),
            transparent
        );

    backdrop-filter: blur(12px);
}

.navbar {
    width: min(var(--container), calc(100% - 50px));

    min-height: 85px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.logo {
    display: flex;

    align-items: center;

    gap: 10px;

    font-weight: 900;

    letter-spacing: 0.08em;
}

.logo-symbol {
    color: var(--purple);

    font-size: 1.3rem;

    text-shadow:
        0 0 15px var(--purple);
}

.logo-name {
    font-size: 1rem;
}

.logo-name span {
    color: var(--purple-light);
}

.nav-menu {
    display: flex;

    align-items: center;

    gap: 24px;
}

.nav-link {
    position: relative;

    color: var(--text-secondary);

    font-size: 0.72rem;

    letter-spacing: 0.08em;

    transition: var(--transition);
}

.nav-link span {
    color: var(--text-muted);

    margin-right: 5px;

    font-size: 0.55rem;
}

.nav-link:hover,
.nav-link.active {
    color: white;

    text-shadow:
        0 0 12px var(--purple);
}

.nav-link::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -9px;

    width: 0;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            var(--purple),
            var(--cyan)
        );

    box-shadow:
        0 0 8px var(--purple);

    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    padding: 12px 20px;

    border: 1px solid var(--border-bright);

    background:
        rgba(168,85,247,0.06);

    font-size: 0.7rem;

    letter-spacing: 0.1em;

    transition: var(--transition);

    box-shadow:
        inset 0 0 20px rgba(168,85,247,0.04);
}

.nav-cta span {
    color: var(--cyan);

    margin-left: 8px;
}

.nav-cta:hover {
    background: var(--purple);

    box-shadow:
        0 0 25px rgba(168,85,247,0.5);

    transform: translateY(-2px);
}

.menu-toggle {
    display: none;

    background: none;

    border: none;

    width: 35px;
}

.menu-toggle span {
    display: block;

    height: 2px;

    background: white;

    margin: 6px 0;

    transition: var(--transition);
}


/* =========================================================
   07. GENERAL SECTION
========================================================= */

.section {
    position: relative;

    padding:
        150px
        0;
}

.section-container {
    width: min(
        var(--container),
        calc(100% - 50px)
    );

    margin: auto;
}

.section-heading {
    display: flex;

    align-items: flex-start;

    gap: 25px;

    margin-bottom: 45px;
}

.section-number {
    color: var(--purple);

    font-family:
        monospace;

    font-size: 0.8rem;

    padding-top: 10px;

    text-shadow:
        0 0 10px var(--purple);
}

.section-label,
.eyebrow {
    display: block;

    color: var(--purple-light);

    font-size: 0.65rem;

    letter-spacing: 0.25em;

    font-weight: 700;

    margin-bottom: 10px;
}

.section-heading h2 {
    font-size:
        clamp(2.5rem, 5vw, 5rem);

    line-height: 0.95;

    letter-spacing: -0.06em;

    font-weight: 900;
}

.section-heading h2 span {
    color: transparent;

    -webkit-text-stroke:
        1px rgba(216,167,255,0.7);

    text-shadow:
        0 0 25px rgba(168,85,247,0.12);
}

.section-intro {
    max-width: 650px;

    color: var(--text-secondary);

    margin-bottom: 55px;

    font-size: 1rem;
}


/* =========================================================
   08. HERO
========================================================= */

.hero-section {
    min-height: 100vh;

    position: relative;

    display: flex;

    align-items: center;

    padding:
        120px 0 60px;
}

.hero-container {
    width: min(
        var(--container),
        calc(100% - 50px)
    );

    margin: auto;

    display: grid;

    grid-template-columns:
        1fr
        0.9fr;

    align-items: center;

    gap: 70px;
}

.hero-status {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 8px 13px;

    border:
        1px solid
        rgba(0,255,157,0.22);

    background:
        rgba(0,255,157,0.04);

    color: #9cffd8;

    font-size: 0.65rem;

    letter-spacing: 0.08em;

    margin-bottom: 25px;
}

.status-dot,
.availability-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--green);

    box-shadow:
        0 0 8px var(--green),
        0 0 18px var(--green);

    animation:
        pulseDot
        1.5s
        ease-in-out
        infinite;
}

@keyframes pulseDot {

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

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.hero-intro {
    color: var(--text-secondary);

    font-size: 1rem;

    letter-spacing: 0.15em;

    text-transform: uppercase;
}

.hero-title {
    margin: 8px 0 20px;

    font-size:
        clamp(5rem, 12vw, 10.5rem);

    line-height: 0.75;

    letter-spacing: -0.09em;

    font-weight: 950;
}

.hero-title-line {
    display: block;
    animation:
        titleGlow
        4s
        ease-in-out
        infinite;
        -webkit-text-stroke:
        2px rgba(216,167,255,0.8);
}

.accent-text {
    color: transparent;

    -webkit-text-stroke:
        2px rgba(216,167,255,0.8);

    text-shadow:
        0 0 30px rgba(168,85,247,0.3);

    animation:
        titleGlow
        4s
        ease-in-out
        infinite;
}

@keyframes titleGlow {

    0%,
    100% {
        text-shadow:
            0 0 20px rgba(168,85,247,0.15);
    }

    50% {
        text-shadow:
            0 0 45px rgba(168,85,247,0.45);
    }
}

.hero-role {
    display: flex;

    align-items: center;

    gap: 8px;

    color: var(--cyan);

    font-family:
        monospace;

    font-size: 2rem;

    letter-spacing: 0.1em;

    margin-bottom: 25px;
}

.role-bracket {
    color: var(--purple);
}

.hero-description {
    max-width: 600px;

    color: var(--text-secondary);

    font-size: 1rem;

    line-height: 1.9;

    margin-bottom: 35px;
}

.hero-description strong {
    display: block;

    color: #ddd;

    margin-top: 8px;
}

.hero-buttons {
    display: flex;

    gap: 15px;

    flex-wrap: wrap;
}

.primary-button,
.secondary-button {
    display: inline-flex;

    align-items: center;

    gap: 15px;

    padding: 15px 23px;

    font-size: 0.7rem;

    letter-spacing: 0.08em;

    transition: var(--transition);
}

.primary-button {
    background:
        linear-gradient(
            135deg,
            var(--purple-dark),
            var(--purple)
        );

    box-shadow:
        0 0 25px rgba(168,85,247,0.25);
}

.primary-button:hover {
    transform: translateY(-4px);

    box-shadow:
        0 10px 40px rgba(168,85,247,0.4);
}

.primary-button .button-icon {
    color: var(--cyan);

    font-size: 1rem;
}

.secondary-button {
    border:
        1px solid
        rgba(255,255,255,0.12);

    background:
        rgba(255,255,255,0.03);
}

.secondary-button:hover {
    border-color: var(--purple);

    background:
        rgba(168,85,247,0.08);

    transform: translateY(-4px);
}

.hero-stats {
    display: flex;

    gap: 35px;

    margin-top: 50px;

    padding-top: 25px;

    border-top:
        1px solid
        rgba(255,255,255,0.08);
}

.hero-stat {
    display: flex;

    flex-direction: column;

    gap: 3px;
}

.hero-stat strong {
    color: white;

    font-size: 1.6rem;

    font-weight: 800;
}

.hero-stat span {
    color: var(--text-muted);

    font-size: 0.58rem;

    line-height: 1.4;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


/* =========================================================
   09. HERO CHARACTER
========================================================= */

.hero-visual {
    min-height: 650px;

    display: flex;

    justify-content: center;

    align-items: center;
}

.visual-frame {
    position: relative;

    width: min(570px, 100%);

    height: 650px;

    border:
        1px solid
        rgba(168,85,247,0.22);

    background:
        linear-gradient(
            145deg,
            rgba(168,85,247,0.08),
            rgba(0,245,255,0.025),
            rgba(0,0,0,0.2)
        );

    overflow: hidden;

    box-shadow:
        inset 0 0 100px rgba(168,85,247,0.05),
        0 0 60px rgba(168,85,247,0.08);
}

.visual-frame::before {
    content: "";

    position: absolute;

    inset: 12px;

    border:
        1px solid
        rgba(255,255,255,0.035);

    pointer-events: none;
}

.visual-frame::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    top: 0;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--purple),
            var(--cyan),
            transparent
        );

    box-shadow:
        0 0 15px var(--purple);

    animation:
        scanningLine
        4s
        linear
        infinite;
}

@keyframes scanningLine {

    0% {
        top: 0;
    }

    100% {
        top: 100%;
    }
}

.visual-top-label,
.visual-bottom-label {
    position: absolute;

    left: 25px;
    right: 25px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    color: var(--text-muted);

    font-size: 0.55rem;

    letter-spacing: 0.15em;

    z-index: 5;
}

.visual-top-label {
    top: 25px;
}

.visual-top-label span:first-child {
    color: var(--purple-light);

    font-family: monospace;
}

.visual-bottom-label {
    bottom: 25px;
}

.visual-line {
    flex: 1;

    height: 1px;

    margin: 0 15px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(168,85,247,0.4),
            transparent
        );
}

.visual-code {
    color: var(--cyan);
}


/* CHARACTER */

.character-container {
    position: absolute;

    inset: 60px 20px 60px;

    display: flex;

    align-items: center;

    justify-content: center;
}

.character-glow {
    position: absolute;

    width: 330px;
    height: 330px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(168,85,247,0.5),
            rgba(168,85,247,0.1) 40%,
            transparent 70%
        );

    filter: blur(15px);

    animation:
        characterGlow
        4s
        ease-in-out
        infinite;
}

@keyframes characterGlow {

    0%,
    100% {
        transform: scale(0.9);

        opacity: 0.7;
    }

    50% {
        transform: scale(1.1);

        opacity: 1;
    }
}

.character-image-wrapper {
    position: relative;

    width: 410px;
    height: 540px;

    z-index: 3;

    display: flex;

    align-items: center;

    justify-content: center;

    animation:
        girlFloat
        5s
        ease-in-out
        infinite;
}

@keyframes girlFloat {

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

    50% {
        transform: translateY(-15px);
    }
}

.character-image {
    width: 100%;
    height: 100%;

    object-fit: contain;

    filter:
        drop-shadow(0 0 18px rgba(168,85,247,0.5))
        drop-shadow(0 0 45px rgba(168,85,247,0.2));

    animation:
        characterBreathing
        4s
        ease-in-out
        infinite;
}

@keyframes characterBreathing {

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

    50% {
        transform: scale(1.018);
    }
}


/* ORBIT RINGS */

.character-ring {
    position: absolute;

    border-radius: 50%;

    border:
        1px solid
        rgba(168,85,247,0.3);

    z-index: 1;
}

.ring-one {
    width: 430px;
    height: 430px;

    transform:
        rotateX(70deg)
        rotateZ(15deg);

    animation:
        orbitSpin
        12s
        linear
        infinite;
}

.ring-two {
    width: 500px;
    height: 500px;

    border-color:
        rgba(0,245,255,0.2);

    transform:
        rotateY(70deg)
        rotateZ(-25deg);

    animation:
        orbitSpinReverse
        16s
        linear
        infinite;
}

.ring-three {
    width: 350px;
    height: 350px;

    border:
        1px dashed
        rgba(255,43,214,0.35);

    transform:
        rotateX(65deg);

    animation:
        orbitSpin
        8s
        linear
        infinite;
}

@keyframes orbitSpin {

    from {
        transform:
            rotateX(70deg)
            rotateZ(0);
    }

    to {
        transform:
            rotateX(70deg)
            rotateZ(360deg);
    }
}

@keyframes orbitSpinReverse {

    from {
        transform:
            rotateY(70deg)
            rotateZ(360deg);
    }

    to {
        transform:
            rotateY(70deg)
            rotateZ(0);
    }
}


/* FLOATING TECH CARDS */

.floating-code-card {
    position: absolute;

    z-index: 8;

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 9px 12px;

    border:
        1px solid
        rgba(168,85,247,0.35);

    background:
        rgba(8,8,12,0.78);

    backdrop-filter: blur(10px);

    box-shadow:
        0 0 25px rgba(168,85,247,0.15);

    animation:
        cardFloat
        4s
        ease-in-out
        infinite;
}

.floating-code-card span {
    color: var(--cyan);

    font-weight: 900;

    font-size: 0.8rem;
}

.floating-code-card small {
    color: white;

    font-size: 0.5rem;

    letter-spacing: 0.08em;
}

.card-html {
    top: 23%;

    left: 5%;

    animation-delay: -1s;
}

.card-react {
    top: 37%;

    right: 3%;

    animation-delay: -2s;
}

.card-js {
    bottom: 25%;

    left: 8%;

    animation-delay: -3s;
}

.card-ts {
    bottom: 17%;

    right: 8%;

    animation-delay: -4s;
}

@keyframes cardFloat {

    0%,
    100% {
        transform:
            translateY(0)
            rotate(0deg);
    }

    50% {
        transform:
            translateY(-12px)
            rotate(2deg);
    }
}


/* =========================================================
   10. ABOUT
========================================================= */

.about-grid {
    display: grid;

    grid-template-columns:
        0.85fr
        1.15fr;

    gap: 80px;

    align-items: center;
}

.about-visual {
    position: relative;

    min-height: 500px;

    display: flex;

    align-items: center;

    justify-content: center;
}

.about-card {
    width: 100%;
    max-width: 470px;

    background:
        #08080d;

    border:
        1px solid
        rgba(168,85,247,0.28);

    box-shadow:
        0 0 50px rgba(168,85,247,0.08);

    transform:
        rotate(-4deg);

    transition: var(--transition);
}

.about-card:hover {
    transform:
        rotate(0deg)
        translateY(-10px);

    box-shadow:
        0 30px 80px rgba(168,85,247,0.18);
}

.about-card-top {
    padding: 15px 18px;

    border-bottom:
        1px solid
        rgba(255,255,255,0.07);

    display: flex;

    justify-content: space-between;

    color: var(--text-muted);

    font-family: monospace;

    font-size: 0.65rem;
}

.about-code {
    padding: 40px 30px;

    font-family: monospace;

    font-size: 0.78rem;

    line-height: 2.2;
}

.about-code p {
    color: #ddd;
}

.indent {
    padding-left: 20px;
}

.indent-double {
    padding-left: 45px;
}

.code-purple {
    color: #c084fc;
}

.code-blue {
    color: #60a5fa;
}

.code-green {
    color: #34d399;
}

.about-orbit {
    position: absolute;

    width: 260px;
    height: 260px;

    border:
        1px dashed
        rgba(0,245,255,0.25);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    right: -20px;
    bottom: -10px;

    animation:
        orbitSpin
        20s
        linear
        infinite;
}

.orbit-text {
    color: var(--cyan);

    font-size: 0.55rem;

    letter-spacing: 0.2em;

    transform:
        rotate(-25deg);
}

.about-content h3 {
    font-size:
        clamp(2rem, 4vw, 4rem);

    line-height: 1.05;

    margin-bottom: 30px;

    letter-spacing: -0.05em;
}

.about-content h3 span {
    color: transparent;

    -webkit-text-stroke:
        1px var(--purple-light);
}

.about-content > p {
    color: var(--text-secondary);

    margin-bottom: 20px;

    font-size: 0.95rem;

    line-height: 1.9;
}

.about-content strong {
    color: white;
}

.about-highlight {
    position: relative;

    margin: 35px 0;

    padding: 25px 25px 25px 55px;

    border-left:
        2px solid
        var(--purple);

    background:
        linear-gradient(
            90deg,
            rgba(168,85,247,0.07),
            transparent
        );
}

.quote-mark {
    position: absolute;

    left: 17px;
    top: 15px;

    font-size: 2rem;

    color: var(--purple);

    text-shadow:
        0 0 15px var(--purple);
}

.about-highlight p {
    color: #ddd;

    font-size: 1rem;

    font-style: italic;
}

.about-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;
}

.about-tags span {
    padding: 7px 12px;

    border:
        1px solid
        rgba(168,85,247,0.2);

    color: var(--purple-light);

    font-size: 0.6rem;

    letter-spacing: 0.08em;

    background:
        rgba(168,85,247,0.04);
}


/* =========================================================
   11. SKILLS
========================================================= */

.skills-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;
}

.skill-card {
    position: relative;

    padding: 30px 24px;

    min-height: 470px;

    border:
        1px solid
        rgba(255,255,255,0.08);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.045),
            rgba(255,255,255,0.01)
        );

    overflow: hidden;

    transition:
        transform 0.5s ease,
        border-color 0.5s ease,
        box-shadow 0.5s ease;
}

.skill-card::before {
    content: "";

    position: absolute;

    top: -100px;
    right: -100px;

    width: 200px;
    height: 200px;

    border-radius: 50%;

    background: var(--purple);

    filter: blur(90px);

    opacity: 0.08;
}

.skill-card:hover {
    transform:
        translateY(-12px);

    border-color:
        rgba(168,85,247,0.5);

    box-shadow:
        0 25px 70px rgba(168,85,247,0.12);
}

.skill-card-header {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 25px;
}

.skill-icon {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        var(--border);

    color: var(--cyan);

    font-family: monospace;

    box-shadow:
        inset 0 0 20px rgba(0,245,255,0.04);
}

.skill-number {
    color: var(--text-muted);

    font-family: monospace;

    font-size: 0.7rem;
}

.skill-card h3 {
    font-size: 1.35rem;

    margin-bottom: 12px;
}

.skill-card > p {
    color: var(--text-secondary);

    font-size: 0.76rem;

    line-height: 1.7;

    margin-bottom: 25px;
}

.skill-list {
    display: flex;

    flex-direction: column;

    gap: 11px;
}

.skill-list li {
    position: relative;

    padding-left: 15px;

    color: #bbb;

    font-size: 0.7rem;
}

.skill-list li::before {
    content: "";

    position: absolute;

    left: 0;
    top: 50%;

    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: var(--purple);

    box-shadow:
        0 0 8px var(--purple);

    transform:
        translateY(-50%);
}

.tech-marquee {
    margin-top: 50px;

    overflow: hidden;

    border-top:
        1px solid
        rgba(255,255,255,0.07);

    border-bottom:
        1px solid
        rgba(255,255,255,0.07);

    padding: 18px 0;

    mask-image:
        linear-gradient(
            90deg,
            transparent,
            black 10%,
            black 90%,
            transparent
        );
}

.marquee-track {
    display: flex;

    width: max-content;

    gap: 50px;

    animation:
        marquee
        25s
        linear
        infinite;
}

.marquee-track span {
    color: var(--text-muted);

    font-family: monospace;

    font-size: 0.7rem;

    letter-spacing: 0.15em;

    white-space: nowrap;
}

.marquee-track span:nth-child(odd) {
    color: var(--purple-light);
}

@keyframes marquee {

    from {
        transform: translateX(0);
    }

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


/* =========================================================
   12. PROJECTS
========================================================= */

.projects-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 25px;
}

.project-card {
    position: relative;

    overflow: hidden;

    border:
        1px solid
        rgba(255,255,255,0.08);

    background:
        rgba(10,10,15,0.7);

    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);

    border-color:
        rgba(168,85,247,0.45);

    box-shadow:
        0 30px 70px rgba(168,85,247,0.1);
}

.project-featured {
    grid-column: span 2;

    display: grid;

    grid-template-columns:
        1.2fr
        0.8fr;
}

.project-image {
    min-height: 310px;

    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            rgba(168,85,247,0.18),
            transparent 60%
        ),
        #08080d;
}

.project-placeholder {
    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            transparent 35%,
            rgba(168,85,247,0.05)
        );

    background-image:
        linear-gradient(
            rgba(168,85,247,0.05) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(168,85,247,0.05) 1px,
            transparent 1px
        );

    background-size: 35px 35px;
}

.project-code-symbol {
    color: rgba(216,167,255,0.7);

    font-family: monospace;

    font-size: clamp(1rem, 3vw, 2.5rem);

    letter-spacing: 0.15em;

    text-shadow:
        0 0 25px rgba(168,85,247,0.4);

    animation:
        symbolPulse
        3s
        ease-in-out
        infinite;
}

@keyframes symbolPulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.project-overlay {
    position: absolute;

    inset: 0;

    padding: 20px;

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    z-index: 2;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0.6),
            transparent 30%
        );
}

.project-category {
    color: var(--cyan);

    font-size: 0.55rem;

    letter-spacing: 0.15em;
}

.project-arrow {
    width: 38px;
    height: 38px;

    border:
        1px solid
        rgba(255,255,255,0.15);

    display: flex;

    align-items: center;
    justify-content: center;

    transition: var(--transition);
}

.project-card:hover .project-arrow {
    background: var(--purple);

    border-color: var(--purple);

    transform:
        rotate(45deg);
}

.project-content {
    padding: 35px;
}

.project-meta {
    display: flex;

    justify-content: space-between;

    color: var(--text-muted);

    font-family: monospace;

    font-size: 0.6rem;

    margin-bottom: 18px;
}

.project-meta span:first-child {
    color: var(--purple);
}

.project-content h3 {
    font-size: 1.7rem;

    margin-bottom: 15px;

    letter-spacing: -0.03em;
}

.project-content p {
    color: var(--text-secondary);

    font-size: 0.78rem;

    line-height: 1.8;

    margin-bottom: 22px;
}

.project-tech {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 25px;
}

.project-tech span {
    padding: 6px 9px;

    border:
        1px solid
        rgba(168,85,247,0.2);

    color: var(--purple-light);

    font-size: 0.55rem;
}

.project-link {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: white;

    font-size: 0.65rem;

    letter-spacing: 0.08em;

    border-bottom:
        1px solid
        var(--purple);

    padding-bottom: 5px;
}

.project-link span {
    color: var(--cyan);
}


/* OFFICE PROJECTS */

.office-projects {
    margin-top: 90px;
}

.subsection-heading {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 30px;
}

.subsection-icon {
    width: 45px;
    height: 45px;

    border:
        1px solid
        rgba(0,255,157,0.3);

    color: var(--green);

    display: flex;

    align-items: center;
    justify-content: center;
}

.subsection-heading span:not(.subsection-icon) {
    color: var(--green);

    font-size: 0.55rem;

    letter-spacing: 0.15em;
}

.subsection-heading h3 {
    font-size: 1.7rem;
}

.office-project-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;
}

.office-project-card {
    display: flex;

    gap: 15px;

    padding: 22px;

    border:
        1px solid
        rgba(255,255,255,0.07);

    background:
        rgba(255,255,255,0.02);

    transition: var(--transition);
}

.office-project-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(0,255,157,0.3);

    box-shadow:
        0 15px 40px rgba(0,255,157,0.06);
}

.office-icon {
    width: 38px;
    height: 38px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    font-weight: 900;
}

.office-icon.excel {
    color: #20c997;

    background:
        rgba(32,201,151,0.08);
}

.office-icon.word {
    color: #3b82f6;

    background:
        rgba(59,130,246,0.08);
}

.office-icon.ppt {
    color: #f97316;

    background:
        rgba(249,115,22,0.08);
}

.office-project-card h4 {
    font-size: 0.85rem;

    margin-bottom: 5px;
}

.office-project-card p {
    color: var(--text-muted);

    font-size: 0.65rem;
}


/* =========================================================
   13. EXPERIENCE TIMELINE
========================================================= */

.timeline {
    position: relative;

    max-width: 950px;

    margin: auto;
}

.timeline::before {
    content: "";

    position: absolute;

    left: 25px;
    top: 0;
    bottom: 0;

    width: 1px;

    background:
        linear-gradient(
            to bottom,
            var(--purple),
            rgba(168,85,247,0.05)
        );
}

.timeline-item {
    position: relative;

    display: grid;

    grid-template-columns:
        70px
        1fr;

    gap: 30px;

    padding-bottom: 70px;
}

.timeline-marker {
    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(168,85,247,0.5);

    background: #07070b;

    color: var(--purple-light);

    font-family: monospace;

    font-size: 0.65rem;

    z-index: 2;

    box-shadow:
        0 0 20px rgba(168,85,247,0.1);
}

.timeline-content {
    padding: 30px;

    border:
        1px solid
        rgba(255,255,255,0.07);

    background:
        rgba(255,255,255,0.02);

    transition: var(--transition);
}

.timeline-content:hover {
    border-color:
        rgba(168,85,247,0.35);

    transform:
        translateX(8px);
}

.timeline-top {
    display: flex;

    justify-content: space-between;

    margin-bottom: 12px;
}

.timeline-duration {
    color: var(--purple-light);

    font-family: monospace;

    font-size: 0.6rem;
}

.timeline-type {
    color: var(--text-muted);

    font-size: 0.55rem;

    letter-spacing: 0.15em;
}

.timeline-content h3 {
    font-size: 1.6rem;

    margin-bottom: 12px;
}

.timeline-content p {
    color: var(--text-secondary);

    font-size: 0.8rem;

    line-height: 1.8;

    margin-bottom: 20px;
}

.timeline-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;
}

.timeline-tags span {
    padding: 5px 8px;

    border:
        1px solid
        rgba(168,85,247,0.18);

    color: var(--text-muted);

    font-size: 0.55rem;
}


/* =========================================================
   14. EDUCATION
========================================================= */

.education-story {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}

.education-card {
    position: relative;

    padding: 30px;

    min-height: 500px;

    border:
        1px solid
        rgba(255,255,255,0.08);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.035),
            rgba(255,255,255,0.01)
        );

    overflow: hidden;

    transition: var(--transition);
}

.education-card:hover {
    transform:
        translateY(-10px);

    border-color:
        rgba(168,85,247,0.4);
}

.education-card::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    border-radius: 50%;

    right: -100px;
    bottom: -100px;

    background: var(--purple);

    filter: blur(80px);

    opacity: 0.1;
}

.education-year {
    color: var(--purple-light);

    font-family: monospace;

    font-size: 0.65rem;

    margin-bottom: 35px;
}

.education-icon {
    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        var(--border);

    color: var(--cyan);

    font-family: monospace;

    font-size: 1.1rem;

    margin-bottom: 30px;

    box-shadow:
        inset 0 0 20px rgba(0,245,255,0.03);
}

.education-category {
    color: var(--text-muted);

    font-size: 0.55rem;

    letter-spacing: 0.18em;
}

.education-content h3 {
    font-size: 1.5rem;

    margin: 7px 0;
}

.education-content h4 {
    color: var(--purple-light);

    font-size: 0.75rem;

    font-weight: 500;

    margin-bottom: 20px;
}

.education-content p {
    color: var(--text-secondary);

    font-size: 0.75rem;

    line-height: 1.8;
}

.education-result {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 30px;

    padding-top: 20px;

    border-top:
        1px solid
        rgba(255,255,255,0.06);
}

.education-result strong {
    font-size: 1.8rem;

    color: white;
}

.education-result span {
    color: var(--text-muted);

    font-size: 0.55rem;

    text-transform: uppercase;
}

.education-tech-stack {
    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin-top: 20px;
}

.education-tech-stack span {
    padding: 5px 7px;

    border:
        1px solid
        rgba(168,85,247,0.2);

    color: var(--purple-light);

    font-size: 0.5rem;
}


/* =========================================================
   15. CERTIFICATIONS
========================================================= */

.certifications-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;
}

.certificate-card {
    display: flex;

    gap: 25px;

    padding: 30px;

    border:
        1px solid
        rgba(255,255,255,0.08);

    background:
        rgba(255,255,255,0.02);

    transition: var(--transition);
}

.certificate-card:hover {
    transform: translateY(-7px);

    border-color:
        rgba(168,85,247,0.4);

    box-shadow:
        0 20px 50px rgba(168,85,247,0.08);
}

.certificate-icon {
    width: 65px;
    height: 65px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(168,85,247,0.35);

    color: var(--purple-light);

    font-family: monospace;

    font-size: 1rem;

    box-shadow:
        inset 0 0 25px rgba(168,85,247,0.05);
}

.certificate-content > span {
    color: var(--cyan);

    font-family: monospace;

    font-size: 0.6rem;
}

.certificate-content h3 {
    font-size: 1.15rem;

    margin: 8px 0;
}

.certificate-content p {
    color: var(--text-muted);

    font-size: 0.7rem;
}

.certificate-status {
    display: inline-block;

    margin-top: 15px;

    padding: 5px 9px;

    color: var(--green);

    border:
        1px solid
        rgba(0,255,157,0.2);

    background:
        rgba(0,255,157,0.04);

    font-size: 0.5rem;

    letter-spacing: 0.08em;
}


/* =========================================================
   16. MINDSET
========================================================= */

.mindset-section {
    padding-top: 80px;
}

.mindset-box {
    position: relative;

    min-height: 400px;

    display: grid;

    grid-template-columns:
        1fr
        300px;

    align-items: center;

    padding: 70px;

    border:
        1px solid
        rgba(168,85,247,0.3);

    overflow: hidden;

    background:
        radial-gradient(
            circle at 80% 50%,
            rgba(168,85,247,0.12),
            transparent 40%
        ),
        #08080d;
}

.mindset-box::before {
    content: "";

    position: absolute;

    inset: 20px;

    border:
        1px dashed
        rgba(168,85,247,0.12);

    pointer-events: none;
}

.mindset-decoration {
    position: absolute;

    top: 25px;
    right: 30px;

    display: flex;

    gap: 10px;

    color: var(--text-muted);

    font-family: monospace;

    font-size: 0.55rem;
}

.mindset-content {
    position: relative;

    z-index: 2;
}

.mindset-content h2 {
    max-width: 750px;

    font-size:
        clamp(2.8rem, 6vw, 6rem);

    line-height: 0.95;

    letter-spacing: -0.07em;

    margin-bottom: 30px;
}

.mindset-content h2 span {
    color: transparent;

    -webkit-text-stroke:
        1px var(--purple-light);
}

.mindset-content p {
    max-width: 650px;

    color: var(--text-secondary);

    font-size: 0.9rem;

    line-height: 1.9;
}

.mindset-content strong {
    color: white;
}

.mindset-symbol {
    position: relative;

    width: 230px;
    height: 230px;

    border-radius: 50%;

    border:
        1px solid
        rgba(168,85,247,0.3);

    display: flex;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    box-shadow:
        0 0 70px rgba(168,85,247,0.12);

    animation:
        symbolRotate
        10s
        linear
        infinite;
}

@keyframes symbolRotate {

    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }
}

.symbol-main {
    color: var(--cyan);

    font-size: 2rem;

    text-shadow:
        0 0 20px var(--cyan);
}

.symbol-text {
    color: var(--purple-light);

    font-size: 0.5rem;

    letter-spacing: 0.2em;

    text-align: center;
}


/* =========================================================
   17. CONTACT
========================================================= */

.contact-grid {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 80px;

    margin-bottom: 60px;
}

.contact-intro h3 {
    max-width: 550px;

    font-size:
        clamp(2.5rem, 5vw, 5rem);

    line-height: 0.95;

    letter-spacing: -0.06em;

    margin-bottom: 25px;
}

.contact-intro h3 span {
    color: transparent;

    -webkit-text-stroke:
        1px var(--purple-light);
}

.contact-intro > p {
    max-width: 550px;

    color: var(--text-secondary);

    font-size: 0.85rem;

    line-height: 1.9;

    margin-bottom: 35px;
}

.contact-availability {
    display: inline-flex;

    align-items: center;

    gap: 13px;

    padding: 15px 18px;

    border:
        1px solid
        rgba(0,255,157,0.2);

    background:
        rgba(0,255,157,0.03);
}

.availability-dot {
    width: 9px;
    height: 9px;
}

.contact-availability div {
    display: flex;

    flex-direction: column;
}

.contact-availability strong {
    font-size: 0.7rem;

    color: white;
}

.contact-availability span {
    color: var(--text-muted);

    font-size: 0.55rem;
}

.contact-details {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.contact-item {
    display: grid;

    grid-template-columns:
        50px
        1fr
        30px;

    align-items: center;

    gap: 15px;

    padding: 18px;

    border:
        1px solid
        rgba(255,255,255,0.07);

    background:
        rgba(255,255,255,0.02);

    transition: var(--transition);
}

.contact-item:hover {
    border-color:
        rgba(168,85,247,0.4);

    transform:
        translateX(8px);

    background:
        rgba(168,85,247,0.04);
}

.contact-icon {
    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(168,85,247,0.25);

    color: var(--purple-light);

    font-family: monospace;

    font-size: 0.8rem;
}

.contact-item small {
    display: block;

    color: var(--text-muted);

    font-size: 0.5rem;

    letter-spacing: 0.15em;

    margin-bottom: 3px;
}

.contact-item strong {
    display: block;

    color: #ddd;

    font-size: 0.7rem;

    font-weight: 500;

    word-break: break-word;
}

.contact-arrow {
    color: var(--cyan);

    transition: var(--transition);
}

.contact-item:hover .contact-arrow {
    transform:
        translate(4px,-4px);
}


/* CONTACT FORM */

.contact-form-wrapper {
    border:
        1px solid
        rgba(168,85,247,0.25);

    background:
        rgba(255,255,255,0.02);
}

.form-header {
    display: flex;

    justify-content: space-between;

    padding: 15px 20px;

    border-bottom:
        1px solid
        rgba(255,255,255,0.07);

    color: var(--text-muted);

    font-family: monospace;

    font-size: 0.55rem;

    letter-spacing: 0.1em;
}

.form-header span:last-child {
    color: var(--green);
}

.contact-form {
    padding: 35px;
}

.form-row {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 20px;
}

.form-group {
    display: flex;

    flex-direction: column;

    gap: 8px;

    margin-bottom: 20px;
}

.form-group label {
    color: var(--text-secondary);

    font-size: 0.65rem;

    letter-spacing: 0.08em;
}

.form-group input,
.form-group textarea {
    width: 100%;

    border:
        1px solid
        rgba(255,255,255,0.09);

    background:
        rgba(0,0,0,0.25);

    color: white;

    outline: none;

    padding: 14px 15px;

    transition: var(--transition);

    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color:
        var(--purple);

    box-shadow:
        0 0 20px rgba(168,85,247,0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #444451;
}

.submit-button {
    display: flex;

    align-items: center;

    justify-content: space-between;

    width: 100%;

    padding: 17px 20px;

    border:
        1px solid
        var(--purple);

    background:
        linear-gradient(
            90deg,
            rgba(168,85,247,0.18),
            rgba(0,245,255,0.04)
        );

    color: white;

    font-size: 0.65rem;

    letter-spacing: 0.12em;

    transition: var(--transition);
}

.submit-button:hover {
    background:
        var(--purple);

    box-shadow:
        0 0 35px rgba(168,85,247,0.35);
}


/* =========================================================
   18. FOOTER
========================================================= */

.site-footer {
    border-top:
        1px solid
        rgba(255,255,255,0.07);

    padding:
        60px 0 20px;

    background:
        rgba(0,0,0,0.3);
}

.footer-container {
    width: min(
        var(--container),
        calc(100% - 50px)
    );

    margin: auto;

    display: grid;

    grid-template-columns:
        2fr
        1fr
        1fr
        1fr;

    gap: 40px;
}

.footer-brand p {
    max-width: 280px;

    color: var(--text-muted);

    font-size: 0.7rem;

    margin-top: 15px;
}

.footer-title {
    display: block;

    color: var(--text-muted);

    font-size: 0.55rem;

    letter-spacing: 0.15em;

    margin-bottom: 15px;
}

.footer-navigation,
.footer-social {
    display: flex;

    flex-direction: column;

    gap: 9px;
}

.footer-navigation a,
.footer-social a {
    color: var(--text-secondary);

    font-size: 0.65rem;

    transition: var(--transition);
}

.footer-navigation a:hover,
.footer-social a:hover {
    color: var(--purple-light);

    transform:
        translateX(5px);
}

.footer-status {
    display: flex;

    align-items: flex-start;

    gap: 9px;

    color: var(--green);

    font-size: 0.55rem;

    letter-spacing: 0.1em;
}

.footer-status .status-dot {
    margin-top: 4px;
}

.footer-bottom {
    width: min(
        var(--container),
        calc(100% - 50px)
    );

    margin:
        50px auto 0;

    padding-top: 20px;

    border-top:
        1px solid
        rgba(255,255,255,0.06);

    display: flex;

    justify-content: space-between;

    gap: 20px;

    color: var(--text-muted);

    font-family: monospace;

    font-size: 0.5rem;

    letter-spacing: 0.08em;
}


/* =========================================================
   19. BACK TO TOP
========================================================= */

.back-to-top {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 45px;
    height: 45px;

    border:
        1px solid
        rgba(168,85,247,0.4);

    background:
        rgba(8,8,12,0.8);

    backdrop-filter: blur(10px);

    color: var(--purple-light);

    z-index: 500;

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(20px);

    transition: var(--transition);
}

.back-to-top:hover {
    background: var(--purple);

    color: white;

    box-shadow:
        0 0 25px rgba(168,85,247,0.4);
}

.back-to-top.show {
    opacity: 1;

    visibility: visible;

    transform:
        translateY(0);
}


/* =========================================================
   20. CUSTOM CURSOR
========================================================= */

.custom-cursor {
    position: fixed;

    pointer-events: none;

    z-index: 999999;

    transform:
        translate(-50%, -50%);
}

.cursor-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--cyan);

    box-shadow:
        0 0 10px var(--cyan),
        0 0 20px var(--cyan);
}

.cursor-outline {
    width: 35px;
    height: 35px;

    border:
        1px solid
        rgba(168,85,247,0.7);

    border-radius: 50%;

    transition:
        width 0.2s,
        height 0.2s,
        background 0.2s,
        border-color 0.2s;
}

.cursor-outline.hover {
    width: 55px;
    height: 55px;

    background:
        rgba(168,85,247,0.08);

    border-color:
        var(--purple-light);
}


/* =========================================================
   21. CURSOR TRAIL
========================================================= */

.cursor-trail {
    position: fixed;

    width: 100px;
    height: 100px;

    pointer-events: none;

    z-index: 999998;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(168,85,247,0.08),
            transparent 70%
        );

    transform:
        translate(-50%, -50%);

    filter: blur(5px);
}


/* =========================================================
   22. RESPONSIVE — 1200px
========================================================= */

@media (max-width: 1200px) {

    .skills-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .education-story {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .education-card:last-child {
        grid-column: span 2;
    }

    .office-project-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* =========================================================
   23. RESPONSIVE — 1000px
========================================================= */

@media (max-width: 1000px) {

    .nav-menu {
        position: fixed;

        top: 85px;
        right: 25px;

        width: 280px;

        padding: 25px;

        flex-direction: column;

        align-items: flex-start;

        background:
            rgba(8,8,12,0.95);

        border:
            1px solid
            rgba(168,85,247,0.25);

        backdrop-filter: blur(20px);

        transform:
            translateX(120%);

        transition: var(--transition);
    }

    .nav-menu.active {
        transform:
            translateX(0);
    }

    .menu-toggle {
        display: block;
    }

    .nav-cta {
        display: none;
    }

    .hero-container {
        grid-template-columns:
            1fr;
    }

    .hero-content {
        text-align: center;
    }

    .hero-status,
    .hero-role {
        justify-content: center;
    }

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

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        min-height: 600px;
    }

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

    .about-visual {
        min-height: 450px;
    }

    .about-content {
        text-align: left;
    }

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

    .footer-container {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* =========================================================
   24. RESPONSIVE — 800px
========================================================= */

@media (max-width: 800px) {

    body {
        cursor: auto;
    }

    .custom-cursor,
    .cursor-trail {
        display: none;
    }

    button {
        cursor: pointer;
    }

    .section {
        padding:
            100px 0;
    }

    .section-container,
    .navbar,
    .footer-container,
    .footer-bottom {
        width:
            calc(100% - 35px);
    }

    .hero-section {
        padding-top: 120px;
    }

    .hero-title {
        font-size:
            clamp(4rem, 18vw, 7rem);
    }

    .visual-frame {
        height: 570px;
    }

    .character-image-wrapper {
        width: 330px;
        height: 470px;
    }

    .ring-one {
        width: 350px;
        height: 350px;
    }

    .ring-two {
        width: 420px;
        height: 420px;
    }

    .ring-three {
        width: 290px;
        height: 290px;
    }

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

    .skill-card {
        min-height: auto;
    }

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

    .project-featured {
        grid-column: auto;

        display: block;
    }

    .office-project-grid {
        grid-template-columns:
            1fr;
    }

    .education-story {
        grid-template-columns:
            1fr;
    }

    .education-card:last-child {
        grid-column: auto;
    }

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

    .mindset-box {
        grid-template-columns:
            1fr;

        padding: 45px 30px;

        gap: 40px;
    }

    .mindset-symbol {
        width: 160px;
        height: 160px;
    }

    .form-row {
        grid-template-columns:
            1fr;
    }

}


/* =========================================================
   25. RESPONSIVE — 600px
========================================================= */

@media (max-width: 600px) {

    .navbar {
        min-height: 70px;
    }

    .nav-menu {
        top: 70px;
        right: 17px;
    }

    .hero-section {
        min-height: auto;

        padding:
            120px 0 70px;
    }

    .hero-title {
        font-size:
            clamp(3.8rem, 21vw, 6rem);
    }

    .hero-role {
        font-size: 0.62rem;
    }

    .hero-description {
        font-size: 0.85rem;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stat strong {
        font-size: 1.3rem;
    }

    .hero-stat span {
        font-size: 0.48rem;
    }

    .hero-visual {
        min-height: 500px;
    }

    .visual-frame {
        height: 500px;
    }

    .character-image-wrapper {
        width: 280px;
        height: 400px;
    }

    .character-glow {
        width: 260px;
        height: 260px;
    }

    .ring-one {
        width: 290px;
        height: 290px;
    }

    .ring-two {
        width: 350px;
        height: 350px;
    }

    .ring-three {
        width: 240px;
        height: 240px;
    }

    .floating-code-card {
        padding: 7px 9px;
    }

    .floating-code-card small {
        font-size: 0.42rem;
    }

    .card-html {
        left: 0;
    }

    .card-react {
        right: 0;
    }

    .card-js {
        left: 2%;
    }

    .card-ts {
        right: 2%;
    }

    .section-heading {
        gap: 12px;
    }

    .section-heading h2 {
        font-size:
            clamp(2.4rem, 12vw, 4rem);
    }

    .about-card {
        transform: rotate(0);
    }

    .about-orbit {
        width: 170px;
        height: 170px;

        right: -5px;
        bottom: -20px;
    }

    .orbit-text {
        font-size: 0.4rem;
    }

    .project-content {
        padding: 25px;
    }

    .timeline-item {
        grid-template-columns:
            50px
            1fr;

        gap: 15px;
    }

    .timeline::before {
        left: 24px;
    }

    .timeline-marker {
        width: 45px;
        height: 45px;
    }

    .timeline-content {
        padding: 22px;
    }

    .timeline-content h3 {
        font-size: 1.2rem;
    }

    .timeline-top {
        flex-direction: column;

        gap: 5px;
    }

    .certificate-card {
        flex-direction: column;
    }

    .contact-form {
        padding: 22px;
    }

    .contact-item {
        grid-template-columns:
            42px
            1fr
            20px;

        gap: 10px;

        padding: 13px;
    }

    .contact-icon {
        width: 38px;
        height: 38px;
    }

    .contact-item strong {
        font-size: 0.6rem;
    }

    .footer-container {
        grid-template-columns:
            1fr;
    }

    .footer-bottom {
        flex-direction: column;

        line-height: 1.7;
    }

}


/* =========================================================
   26. VERY SMALL DEVICES
========================================================= */

@media (max-width: 400px) {

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-stats {
        flex-wrap: wrap;
    }

    .hero-visual {
        min-height: 430px;
    }

    .visual-frame {
        height: 430px;
    }

    .character-image-wrapper {
        width: 240px;
        height: 350px;
    }

    .ring-one {
        width: 250px;
        height: 250px;
    }

    .ring-two {
        width: 300px;
        height: 300px;
    }

    .ring-three {
        width: 210px;
        height: 210px;
    }

    .mindset-box {
        padding: 35px 20px;
    }

}


/* =========================================================
   SCROLL ARROW
========================================================= */

#scrollArrow {
    position: fixed;
    right: 30px;
    bottom: 30px;

    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #050505;
    color: #00ffff;

    border: 2px solid #00ffff;
    border-radius: 50%;

    font-size: 30px;
    font-weight: bold;

    text-decoration: none;

    z-index: 999999;

    opacity: 1;
    visibility: visible;

    box-shadow:
        0 0 10px #00ffff,
        0 0 25px #00ffff,
        0 0 50px rgba(0, 255, 255, 0.7);

    cursor: pointer;

    animation: arrowGlow 1.5s infinite ease-in-out;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

#scrollArrow:hover {
    background: #00ffff;
    color: #050505;

    transform: scale(1.1);

    box-shadow:
        0 0 15px #00ffff,
        0 0 40px #00ffff,
        0 0 80px rgba(0, 255, 255, 0.8);
}

@keyframes arrowGlow {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

/* Mobile */
@media (max-width: 768px) {
    #scrollArrow {
        width: 50px;
        height: 50px;

        right: 20px;
        bottom: 20px;

        font-size: 24px;
    }
}
/* FORCE SCROLL ARROW ABOVE EVERYTHING */

#scrollArrow {
    position: fixed !important;
    display: flex !important;

    right: 30px !important;
    bottom: 30px !important;

    width: 60px !important;
    height: 60px !important;

    z-index: 2147483647 !important;

    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;

    isolation: isolate !important;
}
/* =========================================================
   FINAL MOBILE FIX
========================================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

img,
video {
    max-width: 100%;
    height: auto;
}

/* Prevent sections from becoming wider than screen */
.section,
.section-container,
.navbar,
.footer-container,
.footer-bottom {
    max-width: 100%;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

    html,
    body {
        width: 100%;
        overflow-x: hidden;
    }

    .section-container {
        width: calc(100% - 30px);
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    /* Hero */
    .hero-container {
        width: 100%;
        max-width: 100%;
    }

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

    .hero-title {
        max-width: 100%;
        overflow-wrap: break-word;
    }

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

    /* Hero image / animation girl */
    .hero-visual {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .visual-frame {
        max-width: 100%;
    }

    .character-image-wrapper {
        max-width: 85vw;
    }

    /* Cards */
    .skills-grid,
    .projects-grid,
    .office-project-grid,
    .education-story,
    .certifications-grid {
        width: 100%;
        max-width: 100%;
    }

    .skill-card,
    .project-card,
    .office-project-card,
    .education-card,
    .certificate-card {
        min-width: 0;
        max-width: 100%;
    }

    /* Featured project */
    .project-featured {
        width: 100%;
        max-width: 100%;
    }

    .project-image {
        width: 100%;
        max-width: 100%;
    }

    /* Timeline */
    .timeline {
        width: 100%;
        max-width: 100%;
    }

    .timeline-content {
        min-width: 0;
        max-width: 100%;
    }

    /* Contact */
    .contact-grid {
        width: 100%;
        max-width: 100%;
    }

    .contact-form-wrapper {
        width: 100%;
        max-width: 100%;
    }

    .form-group input,
    .form-group textarea {
        max-width: 100%;
    }

    /* Mindset */
    .mindset-box {
        width: 100%;
        max-width: 100%;
    }

    /* Footer */
    .footer-container,
    .footer-bottom {
        width: calc(100% - 30px);
        max-width: 100%;
    }

    /* ================= SCROLL ARROW ================= */

    #scrollArrow {
        position: fixed !important;

        width: 50px !important;
        height: 50px !important;

        right: 15px !important;
        bottom: 15px !important;

        font-size: 22px !important;

        z-index: 2147483647 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        border-radius: 50% !important;

        visibility: visible !important;
        opacity: 1 !important;

        pointer-events: auto !important;
    }
}

/* ================= VERY SMALL MOBILE ================= */

@media (max-width: 400px) {

    .section-container {
        width: calc(100% - 24px);
    }

    .hero-title {
        font-size: 3.2rem;
    }

    .character-image-wrapper {
        max-width: 80vw;
    }

    #scrollArrow {
        width: 45px !important;
        height: 45px !important;
        right: 12px !important;
        bottom: 12px !important;
        font-size: 20px !important;
    }
}
/* =========================
   VIEW MY CV BUTTON
========================= */

.view-cv-btn {
    padding: 13px 30px;
    border: 1px solid #a855f7;
    background: transparent;
    color: white;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s ease;
}

.view-cv-btn:hover {
    background: #a855f7;
    box-shadow: 0 0 25px rgba(168, 85, 247, .6);
    transform: translateY(-3px);
}


/* =========================
   CV POPUP
========================= */

.cv-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: .4s ease;
}

.cv-modal.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* DARK BACKGROUND */

.cv-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, .9);
    backdrop-filter: blur(8px);
}


/* CV BOX */

.cv-box {
    position: relative;
    z-index: 2;

    width: min(90vw, 850px);
    height: 92vh;

    padding: 15px;

    background: #08080c;

    border: 1px solid rgba(168, 85, 247, .5);

    box-shadow:
        0 0 30px rgba(168, 85, 247, .25),
        0 0 100px rgba(0, 0, 0, .9);

    overflow: auto;

    transform: scale(.85);
    transition: .4s ease;
}

.cv-modal.show .cv-box {
    transform: scale(1);
}


/* CV IMAGE */

.cv-image {
    display: block;
    width: 100%;
    height: auto;
}


/* CLOSE */

.cv-close {
    position: absolute;

    top: 8px;
    right: 8px;

    width: 42px;
    height: 42px;

    border: 1px solid rgba(255,255,255,.3);

    background: #111;

    color: white;

    font-size: 28px;

    cursor: pointer;

    z-index: 10;

    transition: .3s ease;
}

.cv-close:hover {
    color: #c084fc;
    border-color: #a855f7;
    box-shadow: 0 0 20px rgba(168,85,247,.5);
}


/* MOBILE */

@media (max-width: 600px) {

    .cv-box {
        width: 94vw;
        height: 88vh;
        padding: 8px;
    }

    .view-cv-btn {
        padding: 11px 22px;
        font-size: 12px;
    }
}
/* =========================================
   CUSTOM CURSOR WHITE GLOW
========================================= */

.cursor-glow {
    position: fixed;
    width: 180px;
    height: 180px;
    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.22) 0%,
        rgba(255, 255, 255, 0.12) 25%,
        rgba(255, 255, 255, 0.05) 45%,
        transparent 70%
    );

    pointer-events: none;
    z-index: 99999;

    transform: translate(-50%, -50%);

    filter: blur(8px);

    transition:
        width 0.2s ease,
        height 0.2s ease,
        opacity 0.3s ease;

    opacity: 0;
}
/* =====================================================
PROJECT PREVIEW IMAGE
===================================================== */

.project-preview-image {
width: 100%;
height: 100%;
display: block;
object-fit: cover;
object-position: center;
transition: transform 0.6s ease;
}

/* Project image hover */

.project-card:hover .project-preview-image {
transform: scale(1.05);
}
/* =========================================================
   DISABLE STORM LIGHTNING
========================================================= */

.electricity {
    display: none !important;
}