/* =========================================================
   ОСНОВА
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #05050a;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

::selection {
    background: #704cff;
    color: #ffffff;
}


/* =========================================================
   НАВІГАЦІЯ
========================================================= */

.navbar {
    position: fixed;
    z-index: 1000;

    top: 0;
    left: 0;

    width: 100%;
    height: 72px;

    padding: 0 6vw;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(5, 5, 10, 0.72);

    border-bottom: 1px solid rgba(100, 75, 255, 0.14);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.logo {
    position: relative;

    font-size: 20px;
    font-weight: 800;
    letter-spacing: -1px;

    transition: 0.3s;
}

.logo span {
    color: #7555ff;

    text-shadow:
        0 0 10px #7555ff,
        0 0 25px rgba(117, 85, 255, 0.7);
}

.logo:hover {
    text-shadow:
        0 0 15px rgba(112, 76, 255, 0.8);
}

.navbar nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar nav a {
    position: relative;

    padding: 10px 13px;

    color: #858494;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1px;

    transition: 0.3s;
}

.navbar nav a::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 3px;

    width: 0;
    height: 1px;

    background: linear-gradient(
        90deg,
        #7655ff,
        #258dff
    );

    box-shadow:
        0 0 10px #7655ff;

    transform: translateX(-50%);

    transition: 0.3s;
}

.navbar nav a:hover {
    color: #ffffff;
}

.navbar nav a:hover::after {
    width: 70%;
}


/* =========================================================
   ГОЛОВНИЙ ЕКРАН
========================================================= */

.hero {
    position: relative;

    min-height: 100vh;

    padding: 150px 7vw 100px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 80% 40%,
            rgba(91, 55, 255, 0.09),
            transparent 30%
        ),
        radial-gradient(
            circle at 25% 80%,
            rgba(0, 115, 255, 0.06),
            transparent 28%
        ),
        #05050a;
}

.hero-grid {
    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(
            rgba(105, 82, 255, 0.045) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(105, 82, 255, 0.045) 1px,
            transparent 1px
        );

    background-size: 60px 60px;

    mask-image: linear-gradient(
        to bottom,
        black,
        transparent 90%
    );

    pointer-events: none;
}

.hero-glow {
    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    filter: blur(120px);

    opacity: 0.16;

    pointer-events: none;
}

.glow-one {
    top: 15%;
    right: 5%;

    background: #684cff;
}

.glow-two {
    bottom: -20%;
    left: 5%;

    background: #087fff;
}


/* =========================================================
   ТЕКСТ ГОЛОВНОГО ЕКРАНУ
========================================================= */

.hero-content {
    position: relative;
    z-index: 3;

    max-width: 850px;

    animation: heroAppear 1s ease both;
}

.hero-label {
    display: flex;
    align-items: center;
    gap: 11px;

    margin-bottom: 27px;

    color: #858393;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 3px;
}

.hero-label span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #7655ff;

    box-shadow:
        0 0 10px #7655ff,
        0 0 25px #7655ff;

    animation: pulse 2s infinite;
}

.hero h1 {
    max-width: 900px;

    font-size: clamp(
        55px,
        7vw,
        105px
    );

    line-height: 0.9;

    font-weight: 900;

    letter-spacing: -6px;
}

.hero h1 strong {
    display: block;

    color: transparent;

    -webkit-text-stroke: 1px #7655ff;

    text-shadow:
        0 0 35px rgba(108, 76, 255, 0.2);
}

.hero h1 em {
    display: block;

    color: #ffffff;

    font-style: normal;

    text-shadow:
        0 0 35px rgba(255, 255, 255, 0.03);
}

.hero-description {
    max-width: 540px;

    margin-top: 35px;

    color: #9594a5;

    font-size: 16px;

    line-height: 1.75;
}


/* =========================================================
   КНОПКИ
========================================================= */

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 28px;

    margin-top: 38px;
}

.neon-button {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 15px 26px;

    border: 1px solid #7555ff;

    background:
        linear-gradient(
            110deg,
            rgba(103, 72, 255, 0.25),
            rgba(29, 126, 255, 0.12)
        );

    color: #ffffff;

    font-size: 13px;
    font-weight: 800;

    box-shadow:
        0 0 25px rgba(101, 72, 255, 0.12);

    overflow: hidden;

    transition: 0.3s;
}

.neon-button::before {
    content: "";

    position: absolute;

    top: 0;
    left: -100%;

    width: 100%;
    height: 100%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.16),
        transparent
    );

    transition: 0.6s;
}

.neon-button:hover {
    transform: translateY(-3px);

    border-color: #927aff;

    box-shadow:
        0 0 25px rgba(101, 72, 255, 0.25),
        0 0 55px rgba(30, 126, 255, 0.12);
}

.neon-button:hover::before {
    left: 100%;
}

.text-button {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #9998aa;

    font-size: 13px;
    font-weight: 700;

    transition: 0.3s;
}

.text-button span {
    color: #7655ff;

    font-size: 17px;

    transition: 0.3s;
}

.text-button:hover {
    color: #ffffff;
}

.text-button:hover span {
    transform: translateX(5px);

    text-shadow:
        0 0 10px #7655ff;
}


/* =========================================================
   ВІКНО КОДУ
========================================================= */

.hero-side {
    position: absolute;

    z-index: 2;

    right: 6vw;
    top: 50%;

    width: 390px;
    height: 390px;

    transform: translateY(-50%);

    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit {
    position: absolute;

    border: 1px solid rgba(
        117,
        85,
        255,
        0.2
    );

    border-radius: 50%;

    box-shadow:
        0 0 30px rgba(
            117,
            85,
            255,
            0.04
        );
}

.orbit-one {
    width: 360px;
    height: 360px;

    transform:
        rotate(20deg)
        skewX(10deg);
}

.orbit-two {
    width: 300px;
    height: 300px;

    border-color:
        rgba(32, 126, 255, 0.16);

    transform:
        rotate(-25deg)
        skewX(-10deg);
}

.code-window {
    position: relative;
    z-index: 5;

    width: 340px;

    background:
        linear-gradient(
            145deg,
            rgba(19, 18, 32, 0.96),
            rgba(7, 7, 13, 0.96)
        );

    border:
        1px solid rgba(
            117,
            85,
            255,
            0.3
        );

    box-shadow:
        0 0 35px rgba(
            91,
            55,
            255,
            0.14
        ),
        inset 0 0 40px rgba(
            80,
            55,
            255,
            0.03
        );

    backdrop-filter: blur(15px);

    animation:
        floating 5s ease-in-out infinite;
}

.window-top {
    height: 45px;

    padding: 0 15px;

    display: flex;
    align-items: center;

    border-bottom:
        1px solid rgba(
            117,
            85,
            255,
            0.14
        );
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #403d50;
}

.window-dots span:nth-child(1) {
    background: #7655ff;
    box-shadow: 0 0 8px #7655ff;
}

.window-top p {
    margin-left: 15px;

    color: #6e6d7d;

    font-size: 10px;

    letter-spacing: 1px;
}

.code-content {
    padding: 25px 24px;

    min-height: 190px;

    color: #a9a6bb;

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size: 12px;

    line-height: 2;
}

.purple {
    color: #8c6cff;
}

.blue {
    color: #3e9cff;
}

.pink {
    color: #d276ff;
}

.indent-one {
    padding-left: 20px;
}

.indent-two {
    padding-left: 40px;

    color: #e2dff0;
}

.code-bottom {
    height: 40px;

    padding: 0 18px;

    display: flex;
    align-items: center;
    gap: 18px;

    border-top:
        1px solid rgba(
            117,
            85,
            255,
            0.12
        );

    color: #656477;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 2px;
}

.code-bottom span:first-child {
    color: #7655ff;
}

.code-bottom span:nth-child(2) {
    color: #338eff;
}


/* =========================================================
   ПРОКРУТКА
========================================================= */

.scroll-text {
    position: absolute;

    left: 7vw;
    bottom: 35px;

    color: #555363;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 4px;

    writing-mode: vertical-rl;
}

.scroll-text::before {
    content: "";

    display: block;

    width: 1px;
    height: 45px;

    margin-bottom: 12px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            #7655ff
        );
}


/* =========================================================
   ПРО МЕНЕ
========================================================= */

.about {
    position: relative;

    max-width: 1400px;

    margin: auto;

    padding:
        150px 7vw;

    display: grid;

    grid-template-columns:
        70px 0.9fr 1.1fr;

    gap: 60px;

    border-top:
        1px solid rgba(
            117,
            85,
            255,
            0.1
        );
}

.section-number {
    color: #575568;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;
}

.small-title,
.section-label {
    color: #7655ff;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 4px;
}

.about-heading h2 {
    margin-top: 25px;

    font-size: clamp(
        48px,
        5vw,
        75px
    );

    line-height: 0.95;

    letter-spacing: -4px;
}

.about-heading h2 span {
    color: transparent;

    -webkit-text-stroke: 1px #7655ff;

    text-shadow:
        0 0 30px rgba(
            117,
            85,
            255,
            0.15
        );
}

.about-description {
    padding-left: 50px;

    border-left:
        1px solid rgba(
            117,
            85,
            255,
            0.22
        );
}

.about-description p {
    max-width: 600px;

    margin-bottom: 24px;

    color: #8f8e9f;

    font-size: 14px;

    line-height: 1.8;
}

.about-description .large-text {
    color: #d8d6e2;

    font-size: 19px;

    line-height: 1.6;
}

.about-line {
    width: 100%;
    height: 1px;

    margin:
        40px 0 25px;

    background:
        linear-gradient(
            90deg,
            rgba(117, 85, 255, 0.5),
            transparent
        );
}

.about-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;

    max-width: 600px;
}

.about-bottom span {
    color: #575568;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 3px;
}

.about-bottom strong {
    color: #7655ff;

    font-size: 12px;

    letter-spacing: 2px;

    text-shadow:
        0 0 12px rgba(
            117,
            85,
            255,
            0.6
        );
}


/* =========================================================
   НАВИЧКИ
========================================================= */

.skills {
    position: relative;

    padding:
        150px 7vw;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(72, 51, 255, 0.07),
            transparent 30%
        );

    border-top:
        1px solid rgba(
            117,
            85,
            255,
            0.08
        );
}

.skills-heading {
    max-width: 1300px;

    margin: auto;

    display: flex;
    justify-content: space-between;
    align-items: end;

    gap: 50px;
}

.skills-heading h2,
.projects-header h2 {
    margin-top: 20px;

    font-size: clamp(
        45px,
        5vw,
        75px
    );

    line-height: 0.95;

    letter-spacing: -4px;
}

.skills-heading h2 span,
.projects-header h2 span {
    color: transparent;

    -webkit-text-stroke: 1px #7655ff;

    text-shadow:
        0 0 30px rgba(
            117,
            85,
            255,
            0.18
        );
}

.skills-intro {
    max-width: 340px;

    color: #858493;

    font-size: 13px;

    line-height: 1.7;
}

.skills-layout {
    max-width: 1300px;

    margin:
        70px auto 0;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;
}


/* КАРТКИ НАВИЧОК */

.skill-card {
    position: relative;

    min-height: 350px;

    padding: 25px;

    display: flex;
    flex-direction: column;

    justify-content: space-between;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #0d0c16,
            #07070c
        );

    border:
        1px solid rgba(
            117,
            85,
            255,
            0.15
        );

    transition:
        transform 0.4s,
        border-color 0.4s,
        box-shadow 0.4s;
}

.skill-card::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -90px;
    top: -90px;

    border-radius: 50%;

    filter: blur(70px);

    opacity: 0.15;

    background: #7655ff;
}

.skill-card:hover {
    transform: translateY(-7px);

    border-color:
        rgba(
            117,
            85,
            255,
            0.45
        );

    box-shadow:
        0 0 35px rgba(
            86,
            56,
            255,
            0.1
        );
}

.skill-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.skill-top span {
    color: #4d4b5c;

    font-size: 10px;
    font-weight: 800;
}

.skill-top b {
    color: #7655ff;

    font-size: 25px;

    text-shadow:
        0 0 15px rgba(
            117,
            85,
            255,
            0.6
        );
}

.skill-content h3 {
    font-size: 30px;

    letter-spacing: -1px;
}

.skill-content p {
    max-width: 300px;

    margin-top: 15px;

    color: #858493;

    font-size: 13px;

    line-height: 1.7;
}

.skill-line {
    width: 100%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            #7655ff,
            transparent
        );

    opacity: 0.4;
}

.skill-caption {
    color: #535160;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 3px;
}


/* ІНФО */

.skill-info {
    min-height: 350px;

    padding: 30px;

    background:
        linear-gradient(
            135deg,
            rgba(
                84,
                55,
                255,
                0.12
            ),
            rgba(
                22,
                117,
                255,
                0.04
            )
        );

    border:
        1px solid rgba(
            117,
            85,
            255,
            0.2
        );
}

.info-number {
    color: #575568;

    font-size: 10px;
    font-weight: 800;
}

.info-title {
    margin-top: 70px;

    color: #7655ff;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 3px;
}

.skill-info h3 {
    margin-top: 18px;

    font-size: 28px;

    line-height: 1.05;

    letter-spacing: -1px;
}

.skill-info h3 span {
    color: #7655ff;

    text-shadow:
        0 0 15px rgba(
            117,
            85,
            255,
            0.45
        );
}

.skill-info > p:last-child {
    margin-top: 20px;

    color: #858493;

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   ПРОЄКТИ
========================================================= */

.projects {
    position: relative;

    padding:
        150px 7vw;

    background: #040408;

    border-top:
        1px solid rgba(
            117,
            85,
            255,
            0.08
        );
}

.projects-header {
    max-width: 1300px;

    margin: auto;

    display: flex;
    justify-content: space-between;
    align-items: end;

    gap: 50px;
}

.projects-header > p {
    max-width: 320px;

    color: #858493;

    font-size: 13px;

    line-height: 1.7;
}


/* СПИСОК */

.projects-list {
    max-width: 1300px;

    margin:
        70px auto 0;

    display: flex;
    flex-direction: column;

    gap: 25px;
}


/* КАРТКА ПРОЄКТУ */

.project-card {
    display: grid;

    grid-template-columns:
        1.1fr 0.9fr;

    min-height: 470px;

    background:
        linear-gradient(
            145deg,
            #0c0b13,
            #07070c
        );

    border:
        1px solid rgba(
            117,
            85,
            255,
            0.17
        );

    overflow: hidden;

    transition:
        border-color 0.4s,
        box-shadow 0.4s;
}

.project-card:hover {
    border-color:
        rgba(
            117,
            85,
            255,
            0.42
        );

    box-shadow:
        0 0 50px rgba(
            82,
            55,
            255,
            0.08
        );
}


/* ВІЗУАЛ ПРОЄКТУ */

.project-visual {
    position: relative;

    min-height: 470px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle,
            rgba(
                76,
                51,
                255,
                0.12
            ),
            transparent 55%
        );
}

.project-bg-grid {
    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(
            rgba(
                117,
                85,
                255,
                0.07
            ) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(
                117,
                85,
                255,
                0.07
            ) 1px,
            transparent 1px
        );

    background-size: 45px 45px;

    opacity: 0.5;
}

.project-glow {
    position: absolute;

    width: 280px;
    height: 280px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #7655ff,
            #187dff
        );

    filter: blur(100px);

    opacity: 0.13;

    animation:
        glowMove 5s ease-in-out infinite;
}


/* RTX */

.gpu {
    position: relative;
    z-index: 3;

    width: 310px;
    height: 190px;

    padding: 25px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background:
        linear-gradient(
            145deg,
            #11101a,
            #08080e
        );

    border:
        1px solid rgba(
            117,
            85,
            255,
            0.4
        );

    box-shadow:
        -15px 20px 0 rgba(
            40,
            31,
            90,
            0.18
        ),
        0 0 40px rgba(
            86,
            55,
            255,
            0.18
        );

    transform:
        perspective(700px)
        rotateY(-12deg)
        rotateX(5deg);

    transition: 0.5s;
}

.project-card:hover .gpu {
    transform:
        perspective(700px)
        rotateY(-4deg)
        rotateX(2deg)
        translateY(-7px);
}

.gpu-top {
    color: #868493;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 3px;
}

.gpu-name {
    color: #ffffff;

    font-size: 58px;
    font-weight: 900;

    line-height: 0.8;

    letter-spacing: -4px;

    text-shadow:
        0 0 25px rgba(
            117,
            85,
            255,
            0.2
        );
}

.gpu-name small {
    display: block;

    margin-top: 8px;

    color: #7655ff;

    font-size: 18px;

    letter-spacing: 1px;

    text-shadow:
        0 0 15px #7655ff;
}

.gpu-line {
    width: 100%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            #7655ff,
            #258dff,
            transparent
        );
}

.gpu-info {
    color: #626071;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 3px;
}


/* BMW */

.bmw-visual {
    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(
                30,
                119,
                255,
                0.14
            ),
            transparent 50%
        ),
        #070911;
}

.bmw-glow {
    position: absolute;

    width: 270px;
    height: 270px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #147dff,
            #7655ff
        );

    filter: blur(95px);

    opacity: 0.18;

    animation:
        glowMove 5s ease-in-out infinite;
}

.bmw-logo {
    position: relative;
    z-index: 3;

    width: 220px;
    height: 220px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    border:
        2px solid rgba(
            255,
            255,
            255,
            0.8
        );

    background:
        radial-gradient(
            circle,
            #101522,
            #05060a
        );

    color: #ffffff;

    font-size: 40px;
    font-weight: 900;

    letter-spacing: 3px;

    box-shadow:
        0 0 20px rgba(
            50,
            130,
            255,
            0.3
        ),
        0 0 70px rgba(
            95,
            62,
            255,
            0.15
        );

    animation:
        bmwFloat 5s ease-in-out infinite;
}

.bmw-name {
    position: absolute;

    z-index: 4;

    bottom: 80px;

    color: #717080;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 3px;

    text-align: center;
}


/* НОМЕР */

.project-number {
    position: absolute;

    left: 25px;
    bottom: 25px;

    color: #555363;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 3px;
}


/* ІНФОРМАЦІЯ ПРОЄКТУ */

.project-info {
    padding: 65px 55px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-type {
    color: #7655ff;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 4px;
}

.project-info h3 {
    margin-top: 22px;

    font-size: clamp(
        30px,
        3vw,
        48px
    );

    line-height: 0.98;

    letter-spacing: -2px;
}

.project-info h3 strong {
    color: transparent;

    -webkit-text-stroke: 1px #7655ff;

    text-shadow:
        0 0 25px rgba(
            117,
            85,
            255,
            0.13
        );
}

.project-description {
    max-width: 520px;

    margin-top: 25px;

    color: #858493;

    font-size: 13px;

    line-height: 1.8;
}

.tags {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    margin-top: 25px;
}

.tags span {
    padding:
        7px 10px;

    color: #797787;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1px;

    border:
        1px solid rgba(
            117,
            85,
            255,
            0.18
        );

    background:
        rgba(
            117,
            85,
            255,
            0.035
        );
}

.project-link {
    width: fit-content;

    margin-top: 32px;

    padding-bottom: 8px;

    color: #ffffff;

    font-size: 11px;
    font-weight: 800;

    border-bottom:
        1px solid #7655ff;

    transition: 0.3s;
}

.project-link span {
    margin-left: 8px;

    color: #7655ff;

    transition: 0.3s;
}

.project-link:hover {
    color: #7655ff;

    text-shadow:
        0 0 12px rgba(
            117,
            85,
            255,
            0.5
        );
}

.project-link:hover span {
    margin-left: 13px;
}


/* НИЖНІЙ БЛОК */

.project-bottom {
    max-width: 1300px;

    margin:
        25px auto 0;

    padding: 25px 30px;

    display: grid;

    grid-template-columns:
        50px 1fr 50px;

    align-items: center;

    background:
        linear-gradient(
            110deg,
            rgba(
                84,
                55,
                255,
                0.08
            ),
            rgba(
                20,
                112,
                255,
                0.03
            )
        );

    border:
        1px solid rgba(
            117,
            85,
            255,
            0.12
        );
}

.project-bottom-number {
    color: #7655ff;

    font-size: 12px;
    font-weight: 800;
}

.project-bottom p {
    color: #555363;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 3px;
}

.project-bottom h3 {
    margin-top: 8px;

    font-size: 18px;

    font-weight: 700;
}

.project-bottom h3 span {
    color: #7655ff;
}

.project-arrow {
    justify-self: end;

    color: #7655ff;

    font-size: 22px;

    text-shadow:
        0 0 15px #7655ff;
}


/* =========================================================
   КОНТАКТИ
========================================================= */

.contact {
    position: relative;

    min-height: 800px;

    padding:
        170px 7vw;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 30%,
            rgba(
                94,
                57,
                255,
                0.1
            ),
            transparent 40%
        ),
        #05050a;

    border-top:
        1px solid rgba(
            117,
            85,
            255,
            0.1
        );
}

.contact-bg {
    position: absolute;

    right: -5%;

    top: 50%;

    transform:
        translateY(-50%)
        rotate(-10deg);

    color: rgba(
        117,
        85,
        255,
        0.025
    );

    font-family:
        Consolas,
        monospace;

    font-size: 400px;
    font-weight: 900;

    pointer-events: none;
}

.contact-glow {
    position: absolute;

    left: 20%;
    top: 10%;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background: #7655ff;

    filter: blur(180px);

    opacity: 0.06;

    pointer-events: none;
}

.contact-content {
    position: relative;
    z-index: 3;

    max-width: 850px;

    margin: auto;
}

.contact h2 {
    margin-top: 25px;

    font-size: clamp(
        55px,
        8vw,
        105px
    );

    line-height: 0.88;

    letter-spacing: -6px;
}

.contact h2 span {
    display: block;

    color: transparent;

    -webkit-text-stroke:
        1px #7655ff;

    text-shadow:
        0 0 35px rgba(
            117,
            85,
            255,
            0.15
        );
}

.contact-description {
    max-width: 500px;

    margin-top: 30px;

    color: #858493;

    font-size: 14px;

    line-height: 1.7;
}

.contacts-list {
    margin-top: 55px;

    display: flex;
    flex-direction: column;

    border-top:
        1px solid rgba(
            117,
            85,
            255,
            0.16
        );
}

.contact-item {
    display: grid;

    grid-template-columns:
        60px 1fr 40px;

    align-items: center;

    padding:
        20px 0;

    border-bottom:
        1px solid rgba(
            117,
            85,
            255,
            0.1
        );

    transition:
        padding 0.3s,
        background 0.3s;
}

.contact-item:hover {
    padding-left: 12px;
    padding-right: 12px;

    background:
        linear-gradient(
            90deg,
            rgba(
                117,
                85,
                255,
                0.07
            ),
            transparent
        );
}

.contact-icon {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(
            117,
            85,
            255,
            0.25
        );

    color: #7655ff;

    font-size: 9px;
    font-weight: 900;

    box-shadow:
        0 0 15px rgba(
            117,
            85,
            255,
            0.04
        );
}

.contact-info span {
    display: block;

    margin-bottom: 5px;

    color: #565464;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 3px;
}

.contact-info strong {
    color: #d6d4df;

    font-size: 13px;

    transition: 0.3s;
}

.contact-item:hover .contact-info strong {
    color: #ffffff;

    text-shadow:
        0 0 15px rgba(
            117,
            85,
            255,
            0.35
        );
}

.contact-arrow {
    justify-self: end;

    color: #7655ff;

    font-size: 18px;

    transition: 0.3s;
}

.contact-item:hover .contact-arrow {
    transform:
        translate(5px, -5px);

    text-shadow:
        0 0 15px #7655ff;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    position: relative;

    padding:
        45px 7vw;

    display: grid;

    grid-template-columns:
        1fr 1fr 1fr 1fr;

    align-items: center;

    gap: 20px;

    background: #030307;

    border-top:
        1px solid rgba(
            117,
            85,
            255,
            0.14
        );
}

.footer-logo {
    color: #ffffff;

    font-size: 20px;
    font-weight: 900;
}

.footer-logo span {
    color: #7655ff;

    text-shadow:
        0 0 12px #7655ff;
}

footer p,
footer > span,
.footer-center {
    color: #575565;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1px;
}

.footer-center {
    text-align: center;

    color: #464453;
}

footer > span {
    text-align: right;
}


/* =========================================================
   АНІМАЦІЇ
========================================================= */

@keyframes heroAppear {

    from {
        opacity: 0;

        transform:
            translateY(30px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }

}

@keyframes floating {

    0% {
        transform:
            translateY(0);
    }

    50% {
        transform:
            translateY(-12px);
    }

    100% {
        transform:
            translateY(0);
    }

}

@keyframes bmwFloat {

    0% {
        transform:
            translateY(0)
            rotate(0deg);
    }

    50% {
        transform:
            translateY(-10px)
            rotate(1deg);
    }

    100% {
        transform:
            translateY(0)
            rotate(0deg);
    }

}

@keyframes pulse {

    0% {
        box-shadow:
            0 0 8px #7655ff;
    }

    50% {
        box-shadow:
            0 0 20px #7655ff,
            0 0 35px rgba(
                117,
                85,
                255,
                0.4
            );
    }

    100% {
        box-shadow:
            0 0 8px #7655ff;
    }

}

@keyframes glowMove {

    0% {
        transform:
            translate(0, 0)
            scale(1);
    }

    50% {
        transform:
            translate(15px, -15px)
            scale(1.08);
    }

    100% {
        transform:
            translate(0, 0)
            scale(1);
    }

}


/* =========================================================
   ПЛАНШЕТ
========================================================= */

@media (max-width: 1050px) {

    .hero-side {
        right: -80px;

        opacity: 0.5;
    }

    .hero-content {
        max-width: 700px;
    }

    .about {
        grid-template-columns:
            50px 1fr;

        gap: 40px;
    }

    .about-description {
        grid-column: 2;

        padding-left: 35px;
    }

    .skills-layout {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .project-card {
        grid-template-columns:
            1fr;
    }

    .project-visual {
        min-height: 400px;
    }

    .project-info {
        padding: 50px;
    }

}


/* =========================================================
   ТЕЛЕФОН
========================================================= */

@media (max-width: 700px) {

    .navbar {
        height: auto;

        min-height: 65px;

        padding:
            12px 20px;

        flex-direction: column;

        gap: 8px;
    }

    .navbar nav {
        width: 100%;

        justify-content: center;

        flex-wrap: wrap;

        gap: 0;
    }

    .navbar nav a {
        padding:
            6px 7px;

        font-size: 9px;

        letter-spacing: 0;
    }


    /* HERO */

    .hero {
        min-height: 850px;

        padding:
            150px 25px 80px;

        align-items: flex-start;
    }

    .hero h1 {
        font-size:
            clamp(
                53px,
                15vw,
                75px
            );

        letter-spacing: -4px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: flex-start;

        gap: 20px;
    }

    .hero-side {
        display: none;
    }

    .scroll-text {
        display: none;
    }


    /* ABOUT */

    .about {
        display: block;

        padding:
            100px 25px;
    }

    .section-number {
        margin-bottom: 45px;
    }

    .about-heading h2 {
        font-size:
            clamp(
                45px,
                13vw,
                65px
            );
    }

    .about-description {
        margin-top: 55px;

        padding:
            30px 0 0;

        border-left: none;

        border-top:
            1px solid rgba(
                117,
                85,
                255,
                0.2
            );
    }

    .about-description .large-text {
        font-size: 18px;
    }


    /* SKILLS */

    .skills {
        padding:
            100px 25px;
    }

    .skills-heading {
        display: block;
    }

    .skills-intro {
        margin-top: 25px;
    }

    .skills-layout {
        display: flex;

        flex-direction: column;

        margin-top: 50px;
    }

    .skill-card {
        min-height: 280px;
    }

    .skill-info {
        min-height: 260px;
    }

    .info-title {
        margin-top: 50px;
    }


    /* PROJECTS */

    .projects {
        padding:
            100px 25px;
    }

    .projects-header {
        display: block;
    }

    .projects-header > p {
        margin-top: 25px;
    }

    .projects-list {
        margin-top: 50px;
    }

    .project-visual {
        min-height: 350px;
    }

    .gpu {
        width: 270px;
        height: 170px;
    }

    .gpu-name {
        font-size: 48px;
    }

    .bmw-logo {
        width: 175px;
        height: 175px;

        font-size: 31px;
    }

    .project-info {
        padding:
            40px 25px;
    }

    .project-info h3 {
        font-size: 32px;
    }

    .project-bottom {
        grid-template-columns:
            40px 1fr 30px;

        padding:
            20px 15px;
    }

    .project-bottom h3 {
        font-size: 15px;
    }


    /* CONTACT */

    .contact {
        padding:
            110px 25px;
    }

    .contact h2 {
        font-size:
            clamp(
                55px,
                15vw,
                75px
            );

        letter-spacing: -4px;
    }

    .contacts-list {
        margin-top: 45px;
    }

    .contact-item {
        grid-template-columns:
            50px 1fr 30px;
    }

    .contact-info strong {
        font-size: 11px;

        word-break: break-word;
    }


    /* FOOTER */

    footer {
        grid-template-columns: 1fr;

        gap: 12px;

        padding:
            35px 25px;

        text-align: center;
    }

    footer p,
    footer > span,
    .footer-center {
        text-align: center;
    }

}


/* =========================================================
   ДУЖЕ МАЛИЙ ЕКРАН
========================================================= */

@media (max-width: 430px) {

    .navbar nav a {
        padding:
            6px 5px;

        font-size: 8px;
    }

    .hero h1 {
        font-size: 51px;
    }

    .section-label {
        letter-spacing: 3px;
    }

    .skills-heading h2,
    .projects-header h2 {
        font-size: 50px;
    }

    .project-visual {
        min-height: 310px;
    }

    .gpu {
        width: 235px;
        height: 150px;

        padding: 20px;
    }

    .gpu-name {
        font-size: 40px;
    }

    .gpu-name small {
        font-size: 15px;
    }

    .bmw-logo {
        width: 150px;
        height: 150px;

        font-size: 27px;
    }

    .bmw-name {
        bottom: 45px;
    }

    .project-number {
        left: 18px;
        bottom: 18px;
    }

    .project-bottom {
        grid-template-columns:
            30px 1fr 25px;
    }

}
