* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(229, 9, 20, 0.18),
            transparent 25%
        ),
        radial-gradient(
            circle at 85% 70%,
            rgba(180, 0, 0, 0.16),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #050505 0%,
            #100303 45%,
            #050505 100%
        );

    color: white;
    min-height: 100vh;

    overflow-x: hidden;

    position: relative;
}


/* =========================
   ANALOG SCANLINE
========================= */

body::before {

    content: "";

    position: fixed;

    inset: 0;

    pointer-events: none;

    z-index: 999;

    background:
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 3px,
            rgba(255,255,255,.025) 4px
        );

    opacity: .4;
}


/* =========================
   NAVBAR
========================= */

nav {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    height: 70px;

    display: flex;

    align-items: center;

    justify-content: center;

    z-index: 1000;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.95),
            transparent
        );

    transition: .4s;
}

nav.scrolled {

    background: #080808;

    box-shadow:
        0 5px 25px rgba(0,0,0,.8);
}


.nav-links {

    display: flex;

    gap: 35px;
}


.nav-links a {

    color: #ddd;

    text-decoration: none;

    font-size: 14px;

    transition: .3s;

    position: relative;
}


.nav-links a::after {

    content: "";

    position: absolute;

    left: 50%;

    bottom: -8px;

    width: 0;

    height: 2px;

    background: #e50914;

    box-shadow:
        0 0 8px #e50914,
        0 0 20px #e50914;

    transition: .3s;
}


.nav-links a:hover::after,
.nav-links .active::after {

    width: 100%;

    left: 0;
}


.nav-links a:hover,
.nav-links .active {

    color: #e50914;

    text-shadow:
        0 0 8px #e50914,
        6px 0 8px rgba(229,9,20,.25);

    animation: linkTrail .4s infinite;
}


/* =========================
   HERO
========================= */

.hero {

    min-height: 100vh;

    display: flex;

    align-items: center;

    padding: 0 8%;

    position: relative;

    background:
        linear-gradient(
            90deg,
            #080808 0%,
            rgba(8,8,8,.9) 35%,
            rgba(8,8,8,.25) 70%,
            #080808 100%
        );
}


.hero::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 75% 45%,
            rgba(229,9,20,.35),
            transparent 35%
        );

    z-index: 0;
}


.hero::after {

    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -200px;
    top: 10%;

    background: #e50914;

    filter: blur(180px);

    opacity: .12;

    pointer-events: none;
}


.hero-text {

    max-width: 650px;

    z-index: 2;
}


.small {

    color: #aaa;

    letter-spacing: 4px;

    font-size: 12px;

    margin-bottom: 15px;
}


.hero-text h1 {

    font-size: clamp(50px, 7vw, 90px);

    line-height: .95;

    margin-bottom: 15px;

    text-shadow:
        0 0 8px rgba(255,255,255,.2),
        8px 0 12px rgba(229,9,20,.2),
        -6px 0 10px rgba(80,0,0,.2);

    animation: glitch 4s infinite;
}


.hero-text h1 span {

    color: #e50914;

    text-shadow:
        0 0 10px #e50914,
        0 0 30px rgba(229,9,20,.5);
}


.hero-text h2 {

    color: #ccc;

    margin-bottom: 20px;
}


.hero-text p {

    color: #bbb;

    max-width: 550px;

    line-height: 1.7;
}


/* =========================
   BUTTON
========================= */

.btn {

    display: inline-block;

    margin-top: 30px;

    padding: 13px 25px;

    background: #e50914;

    color: white;

    text-decoration: none;

    font-weight: bold;

    border-radius: 4px;

    box-shadow:
        0 0 15px rgba(229,9,20,.5);

    transition: .3s;
}


.btn:hover {

    background: #ff1b25;

    transform: scale(1.05);

    box-shadow:
        0 0 15px #e50914,
        0 0 40px rgba(229,9,20,.5);
}


/* =========================
   FOTO
========================= */

.hero-image {

    margin-left: auto;

    position: relative;

    z-index: 2;
}


.glow-circle {

    width: 350px;
    height: 450px;

    border-radius: 8px;

    overflow: hidden;

    border: 1px solid #e50914;

    box-shadow:
        0 0 25px rgba(229,9,20,.4),
        0 0 70px rgba(229,9,20,.15);

    transform:
        perspective(800px)
        rotateY(-5deg);

    transition: .5s;

    position: relative;
}


.glow-circle::after {

    content: "";

    position: absolute;

    inset: 0;

    border: 2px solid #e50914;

    opacity: .3;

    filter: blur(5px);

    animation: photoTrail 2s infinite;
}


.glow-circle:hover {

    transform:
        perspective(800px)
        rotateY(0deg)
        scale(1.04);

    box-shadow:
        0 0 30px #e50914,
        0 0 80px rgba(229,9,20,.35);
}


.glow-circle img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: .5s;
}


.glow-circle:hover img {

    transform: scale(1.08);
}


/* =========================
   PAGE
========================= */

.page {

    min-height: 100vh;

    padding: 120px 7% 70px;

    background:
        linear-gradient(
            #080808,
            #0d0d0d
        );

    background-image:

        linear-gradient(
            rgba(229,9,20,.025) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(229,9,20,.025) 1px,
            transparent 1px
        );

    background-size: 45px 45px;

    position: relative;
}


.page h1 {

    font-size: 42px;

    margin-bottom: 60px;

    display: inline-block;

    position: relative;
}


.page h1 span {

    color: #e50914;

    text-shadow:
        0 0 10px #e50914;
}


.page h1::after {

    content: "";

    position: absolute;

    width: 70%;

    height: 3px;

    left: 15%;

    bottom: -12px;

    background: #e50914;

    box-shadow:
        0 0 8px #e50914,
        0 0 20px #8b0000;

    animation: titleGlow 2s infinite alternate;
}


/* =========================
   PROFILE
========================= */

.profile-card {

    max-width: 1000px;

    margin: auto;

    display: flex;

    gap: 45px;

    padding: 30px;

    background: #141414;

    border-radius: 6px;

    border-left: 4px solid #e50914;

    box-shadow:
        0 10px 40px rgba(0,0,0,.7);

    transition: .4s;
}


.profile-card:hover {

    transform: translateY(-5px);

    box-shadow:
        0 15px 50px rgba(229,9,20,.2);
}


.profile-img img {

    width: 230px;
    height: 300px;

    object-fit: cover;

    border-radius: 5px;

    border: 1px solid #e50914;

    box-shadow:
        0 0 20px rgba(229,9,20,.3);
}


.profile-info h2 {

    font-size: 32px;
}


.profile-info p {

    color: #aaa;

    line-height: 1.7;
}


.role {

    color: #e50914 !important;

    margin: 8px 0 20px;
}


.data {

    margin-top: 20px;
}


.data p {

    margin: 8px 0;
}


/* =========================
   SKILLS
========================= */

.skills-container {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(200px, 1fr));

    gap: 10px;

    max-width: 1200px;

    margin: auto;
}


.skill-card {

    min-height: 230px;

    padding: 25px;

    background: #181818;

    border-radius: 5px;

    border: 1px solid rgba(229,9,20,.25);

    display: flex;

    flex-direction: column;

    justify-content: center;

    transition: .35s;

    position: relative;

    overflow: hidden;
}


.skill-card::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 45px;
    height: 45px;

    border-top: 2px solid #e50914;
    border-left: 2px solid #e50914;

    box-shadow:
        -3px -3px 12px rgba(229,9,20,.4);
}


.skill-card::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(229,9,20,.18),
            transparent
        );

    transform: translateX(-100%);

    transition: .5s;
}


.skill-card:hover::after {

    transform: translateX(100%);
}


.skill-card:hover {

    transform: scale(1.08);

    z-index: 5;

    background: #222;

    border-color: #e50914;

    box-shadow:
        0 0 20px rgba(229,9,20,.4),
        0 0 45px rgba(229,9,20,.18);
}


.icon {

    font-size: 38px;

    margin-bottom: 15px;

    color: #e50914;

    filter:
        drop-shadow(0 0 8px #e50914);
}


.skill-card h2 {

    margin-bottom: 10px;
}


.skill-card p {

    color: #aaa;

    line-height: 1.5;
}


/* =========================
   SOCIAL MEDIA
========================= */

.social-container {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 25px;

    margin-top: 50px;

    flex-wrap: wrap;
}


.social-icon {

    width: 90px;
    height: 90px;

    display: flex;

    justify-content: center;
    align-items: center;

    color: white;

    text-decoration: none;

    background: #151515;

    border: 1px solid #550000;

    border-radius: 12px;

    font-size: 38px;

    box-shadow:
        0 0 10px rgba(229,9,20,.15);

    transition: .35s;

    position: relative;

    overflow: hidden;
}


.social-icon::before {

    content: "";

    position: absolute;

    width: 150%;

    height: 2px;

    background: #e50914;

    box-shadow:
        0 0 10px #e50914,
        0 0 25px #e50914;

    left: -150%;

    transition: .5s;
}


.social-icon:hover::before {

    left: 100%;
}


.social-icon:hover {

    color: #e50914;

    transform:
        translateY(-10px)
        scale(1.08);

    border-color: #e50914;

    box-shadow:
        0 0 20px #e50914,
        0 0 50px rgba(229,9,20,.35);

    text-shadow:
        0 0 10px #e50914,
        0 0 25px #e50914;
}


/* =========================
   ANIMATION
========================= */

@keyframes glitch {

    0%, 90%, 100% {
        transform: translateX(0);
        filter: none;
    }

    92% {
        transform: translateX(3px);

        text-shadow:
            -4px 0 #e50914,
            4px 0 #00ffff;
    }

    94% {
        transform: translateX(-3px);

        text-shadow:
            4px 0 #e50914,
            -4px 0 #00ffff;
    }

    96% {
        transform: translateX(0);
    }
}


@keyframes linkTrail {

    0%, 100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(2px);
    }
}


@keyframes titleGlow {

    from {
        box-shadow:
            0 0 5px #e50914;
    }

    to {
        box-shadow:
            0 0 10px #e50914,
            0 0 25px #8b0000;
    }
}


@keyframes photoTrail {

    0%, 100% {
        transform: translateX(0);
        opacity: .15;
    }

    50% {
        transform: translateX(10px);
        opacity: .4;
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

    .hero {

        flex-direction: column;

        justify-content: center;

        text-align: center;

        gap: 50px;

        padding-top: 100px;
    }


    .hero-text p {

        margin: auto;
    }


    .hero-image {

        margin: 0;
    }


    .glow-circle {

        width: 250px;

        height: 320px;
    }


    .skills-container {

        grid-template-columns:
            repeat(2, 1fr);
    }


    .profile-card {

        flex-direction: column;

        text-align: center;

        align-items: center;
    }
}


@media (max-width: 600px) {

    .nav-links {

        gap: 15px;
    }


    .nav-links a {

        font-size: 11px;
    }


    .skills-container {

        grid-template-columns: 1fr;
    }


    .social-icon {

        width: 75px;

        height: 75px;

        font-size: 30px;
    }
}