/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================
   BODY
========================= */

body {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at top left,
            #30346d,
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #050505,
            #11112b,
            #1d0b0b
        );

    color: white;

    font-family: Arial, sans-serif;

    padding: 10px;
}


/* =========================
   NAVIGATION
========================= */

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 20px 25px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

nav h2 {
    font-size: 25px;

    text-shadow:
        0 0 10px white,
        0 0 25px #6670ff;
}


/* Navigation links */

.nav-links {
    display: flex;
    gap: 15px;
}

.nav-links a {
    width: 95px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;

    text-decoration: none;

    background: #050505;

    border: 1px solid white;

    border-radius: 12px;

    box-shadow:
        0 0 10px rgba(255, 255, 255, 0.5);

    transition: 0.3s ease;
}

.nav-links a:hover {
    transform: translateY(-5px);

    box-shadow:
        0 0 10px white,
        0 0 25px #6670ff;
}


/* =========================
   MAIN CONTAINER
========================= */

.about-container {
    max-width: 1000px;

    margin: 60px auto;

    text-align: center;
}


/* =========================
   PROFILE
========================= */

.profile {
    margin-bottom: 50px;
}

.profile-icon {
    width: 120px;
    height: 120px;

    margin: 0 auto 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 35px;
    font-weight: bold;

    color: white;

    background: #050505;

    border: 2px solid white;

    border-radius: 50%;

    box-shadow:
        0 0 15px white,
        0 0 40px #6670ff;

    animation: glow 2s infinite alternate;
}


.profile h1 {
    font-size: 50px;

    text-shadow:
        0 0 10px white,
        0 0 30px #6670ff;
}

.intro-text {
    max-width: 700px;

    margin: 20px auto;

    font-size: 18px;

    line-height: 1.7;

    color: #dddddd;
}


/* =========================
   ABOUT CARD
========================= */

.about-card {
    padding: 40px;

    background: rgba(0, 0, 0, 0.45);

    border: 1px solid rgba(255, 255, 255, 0.2);

    border-radius: 25px;

    box-shadow:
        0 0 20px rgba(80, 100, 255, 0.2);

    backdrop-filter: blur(10px);
}

.about-card h2,
.mission h2 {
    font-size: 30px;

    margin-bottom: 15px;

    text-shadow:
        0 0 10px #6670ff;
}

.about-card > p {
    color: #dddddd;

    line-height: 1.7;

    margin-bottom: 30px;
}


/* =========================
   SKILLS
========================= */

.skills {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
}

.skill {
    padding: 25px;

    background: rgba(10, 10, 10, 0.8);

    border: 1px solid rgba(255, 255, 255, 0.2);

    border-radius: 18px;

    transition: 0.3s ease;
}

.skill:hover {
    transform: translateY(-10px);

    border-color: white;

    box-shadow:
        0 0 15px rgba(255, 255, 255, 0.4),
        0 0 25px rgba(102, 112, 255, 0.5);
}

.skill span {
    font-size: 35px;
}

.skill h3 {
    margin: 12px 0;

    text-shadow:
        0 0 8px white;
}

.skill p {
    color: #cccccc;

    line-height: 1.5;
}


/* =========================
   MISSION
========================= */

.mission {
    margin-top: 40px;

    padding: 35px;

    border-radius: 20px;

    background: rgba(0, 0, 0, 0.4);

    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mission p {
    color: #dddddd;

    line-height: 1.7;
}

.code-text {
    margin-top: 25px;

    color: #8c94ff;

    font-family: monospace;

    font-size: 18px;

    text-shadow:
        0 0 10px #6670ff;
}


/* =========================
   BACK HOME BUTTON
========================= */

.back-home {
    display: inline-block;

    margin-top: 35px;

    padding: 13px 30px;

    color: white;

    background: black;

    border: 1px solid white;

    border-radius: 15px;

    text-decoration: none;

    box-shadow:
        0 0 15px rgba(255, 255, 255, 0.5);

    transition: 0.3s ease;
}

.back-home:hover {
    transform: translateY(-7px);

    box-shadow:
        0 0 10px white,
        0 0 30px #6670ff;
}


/* =========================
   GLOW ANIMATION
========================= */

@keyframes glow {

    from {
        box-shadow:
            0 0 10px white,
            0 0 25px #6670ff;
    }

    to {
        box-shadow:
            0 0 20px white,
            0 0 50px #6670ff;
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

    nav {
        flex-direction: column;

        gap: 20px;
    }

    .nav-links {
        flex-wrap: wrap;

        justify-content: center;
    }

    .profile h1 {
        font-size: 38px;
    }

    .about-card {
        padding: 25px;
    }

    .skills {
        grid-template-columns: 1fr;
    }
}