/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}


/* =========================================
   BODY
========================================= */

body {
    font-family: Arial, Helvetica, sans-serif;

    color: #dce6f2;

    background:
        radial-gradient(
            circle at 80% 10%,
            #12345c 0%,
            #081a2e 25%,
            #030912 65%,
            #01040a 100%
        );

    line-height: 1.7;

    overflow-x: hidden;
}


/* =========================================
   BACKGROUND GLOW
========================================= */

body::before {
    content: "";

    position: fixed;

    width: 450px;
    height: 450px;

    left: -200px;
    top: 20%;

    background: #1683ff;

    opacity: 0.08;

    filter: blur(130px);

    border-radius: 50%;

    z-index: -1;

    animation: backgroundGlow 6s infinite alternate;
}


body::after {
    content: "";

    position: fixed;

    width: 400px;
    height: 400px;

    right: -150px;
    bottom: 5%;

    background: #00aaff;

    opacity: 0.06;

    filter: blur(120px);

    border-radius: 50%;

    z-index: -1;

    animation: backgroundGlow 7s infinite alternate;
}


@keyframes backgroundGlow {

    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.4);
    }

}


/* =========================================
   NAVBAR
========================================= */

.navbar {

    position: sticky;

    top: 0;

    z-index: 999;

    height: 75px;

    padding: 0 8%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: rgba(2, 9, 18, 0.88);

    backdrop-filter: blur(15px);

    border-bottom: 1px solid #163657;

    box-shadow:
        0 5px 30px rgba(0, 0, 0, 0.5);
}


.logo {

    font-size: 28px;

    font-weight: 900;

    letter-spacing: 3px;

    color: white;
}


.logo span {

    color: #249cff;

    text-shadow:
        0 0 15px #249cff;
}


.navbar ul {

    display: flex;

    list-style: none;

    gap: 30px;
}


.navbar a {

    position: relative;

    color: #9fb2c7;

    text-decoration: none;

    font-size: 14px;

    font-weight: bold;

    letter-spacing: 1px;

    transition: 0.3s;
}


.navbar a::after {

    content: "";

    position: absolute;

    width: 0;

    height: 2px;

    left: 0;

    bottom: -8px;

    background: #249cff;

    box-shadow:
        0 0 10px #249cff;

    transition: 0.3s;
}


.navbar a:hover {

    color: #249cff;

}


.navbar a:hover::after {

    width: 100%;

}


/* =========================================
   HERO
========================================= */

.hero {

    min-height: 90vh;

    padding: 80px 10%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 70px;
}


.hero-content {

    max-width: 700px;

    animation: slideLeft 1s ease;
}


@keyframes slideLeft {

    from {

        opacity: 0;

        transform: translateX(-100px);

    }

    to {

        opacity: 1;

        transform: translateX(0);

    }

}


.welcome {

    color: #249cff;

    font-size: 13px;

    letter-spacing: 4px;

    font-weight: bold;

    margin-bottom: 15px;

}


.hero h1 {

    font-size: clamp(50px, 7vw, 90px);

    line-height: 0.95;

    letter-spacing: 5px;

    color: white;

    margin-bottom: 20px;

}


.hero h1 span {

    display: block;

    color: #249cff;

    text-shadow:
        0 0 10px rgba(36, 156, 255, 0.8),
        0 0 30px rgba(36, 156, 255, 0.5),
        0 0 60px rgba(36, 156, 255, 0.3);

}


.hero h3 {

    color: #8da6bf;

    font-size: 16px;

    letter-spacing: 3px;

}


.intro {

    color: #91a3b5;

    max-width: 600px;

    margin-top: 20px;

}


.quote {

    color: #c9d6e4;

    margin-top: 15px;

    border-left: 3px solid #249cff;

    padding-left: 15px;
}


/* =========================================
   BUTTON
========================================= */

.buttons {

    display: flex;

    gap: 15px;

    margin-top: 30px;

    flex-wrap: wrap;
}


.btn,
.btn-outline {

    padding: 13px 25px;

    text-decoration: none;

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 1px;

    transition: 0.3s;
}


.btn {

    color: white;

    background: #126dcc;

    border: 2px solid #249cff;

    box-shadow:
        0 0 15px rgba(36, 156, 255, 0.25);
}


.btn:hover {

    background: #249cff;

    transform: translateY(-5px);

    box-shadow:
        0 0 25px rgba(36, 156, 255, 0.6);
}


.btn-outline {

    color: #b7c8d9;

    border: 2px solid #29445e;
}


.btn-outline:hover {

    color: white;

    border-color: #249cff;

    transform: translateY(-5px);
}


/* =========================================
   PROFILE
========================================= */

.profile {

    position: relative;

    width: 330px;

    height: 330px;

    display: flex;

    align-items: center;

    justify-content: center;

    animation: slideRight 1s ease;
}


@keyframes slideRight {

    from {

        opacity: 0;

        transform: translateX(100px);

    }

    to {

        opacity: 1;

        transform: translateX(0);

    }

}


.profile img {

    width: 275px;

    height: 275px;

    object-fit: cover;

    border-radius: 50%;

    border: 5px solid #071526;

    outline: 3px solid #249cff;

    box-shadow:
        0 0 20px #249cff,
        0 0 60px rgba(36, 156, 255, 0.4),
        0 20px 60px #000;

    z-index: 2;

    animation: floating 4s infinite ease-in-out;
}


@keyframes floating {

    0%,
    100% {

        transform: translateY(0);

    }

    50% {

        transform: translateY(-15px);

    }

}


.glow {

    position: absolute;

    width: 310px;

    height: 310px;

    border: 1px dashed #249cff;

    border-radius: 50%;

    animation: rotate 12s linear infinite;
}


@keyframes rotate {

    from {

        transform: rotate(0deg);

    }

    to {

        transform: rotate(360deg);

    }

}


.status {

    position: absolute;

    bottom: 15px;

    right: 5px;

    z-index: 3;

    padding: 8px 15px;

    background: #071526;

    border: 1px solid #249cff;

    color: #249cff;

    font-size: 10px;

    font-weight: bold;

    letter-spacing: 1px;

    box-shadow:
        0 0 15px rgba(36, 156, 255, 0.4);
}


/* =========================================
   SECTION
========================================= */

.section {

    max-width: 1100px;

    margin: auto;

    padding: 100px 30px;
}


.title p {

    color: #249cff;

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 4px;
}


.title h2 {

    color: white;

    font-size: 40px;

    letter-spacing: 3px;

    margin-top: 5px;
}


.title h2 span {

    color: #249cff;

    text-shadow:
        0 0 15px rgba(36, 156, 255, 0.5);
}


/* =========================================
   ABOUT
========================================= */

.about {

    display: grid;

    grid-template-columns: 1.4fr 1fr;

    gap: 25px;

    margin-top: 40px;
}


.about-text,
.data-box {

    padding: 35px;

    background:
        linear-gradient(
            145deg,
            rgba(17, 38, 61, 0.8),
            rgba(4, 13, 23, 0.9)
        );

    border: 1px solid #193957;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4);

    transition: 0.4s;
}


.about-text:hover,
.data-box:hover {

    transform: translateY(-8px);

    border-color: #249cff;

    box-shadow:
        0 20px 50px rgba(36, 156, 255, 0.12);
}


.about-text {

    border-left: 3px solid #249cff;
}


.about-text h3,
.data-box h3 {

    color: white;

    margin-bottom: 20px;

    letter-spacing: 2px;
}


.about-text p {

    color: #91a3b5;

    margin-bottom: 15px;
}


.about-text strong,
.about-text b {

    color: white;
}


.about-text u {

    color: #249cff;

}


/* =========================================
   DATA DIRI
========================================= */

.data-item {

    display: flex;

    justify-content: space-between;

    gap: 15px;

    padding: 12px 0;

    border-bottom: 1px solid #1b334a;
}


.data-item span {

    color: #687f96;
}


.data-item strong {

    color: #dbe8f5;

}


/* =========================================
   HOBI
========================================= */

.hobby-container {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    margin-top: 40px;
}


.hobby-card {

    position: relative;

    overflow: hidden;

    padding: 35px 25px;

    background:
        linear-gradient(
            145deg,
            #10263d,
            #050d16
        );

    border: 1px solid #1c3d5d;

    text-align: center;

    transition: 0.4s;
}


.hobby-card::before {

    content: "";

    position: absolute;

    width: 100%;

    height: 3px;

    top: 0;

    left: -100%;

    background: #249cff;

    box-shadow:
        0 0 15px #249cff;

    transition: 0.5s;
}


.hobby-card:hover::before {

    left: 0;

}


.hobby-card:hover {

    transform: translateY(-10px);

    border-color: #249cff;

    box-shadow:
        0 15px 40px rgba(36, 156, 255, 0.15);
}


.hobby-icon {

    font-size: 50px;

    margin-bottom: 15px;

    transition: 0.4s;
}


.hobby-card:hover .hobby-icon {

    transform: scale(1.2);

}


.hobby-card h3 {

    color: white;

    letter-spacing: 2px;

    margin-bottom: 10px;
}


.hobby-card p {

    color: #71869a;

    font-size: 14px;
}


/* =========================================
   SKILLS
========================================= */

.skills {

    max-width: 850px;

    margin: 45px auto;
}


.skill {

    margin-bottom: 25px;
}


.skill-info {

    display: flex;

    justify-content: space-between;

    margin-bottom: 8px;
}


.skill-info span {

    color: #dbe8f5;

    font-weight: bold;
}


.skill-info strong {

    color: #249cff;
}


.progress {

    width: 100%;

    height: 10px;

    background: #0c1824;

    border: 1px solid #1d354b;

    overflow: hidden;

    border-radius: 20px;
}


.bar {

    height: 100%;

    background:
        linear-gradient(
            90deg,
            #12518d,
            #249cff
        );

    box-shadow:
        0 0 15px #249cff;

    animation: progressAnimation 2s ease;
}


.html {
    width: 90%;
}


.css {
    width: 85%;
}


.futsal {
    width: 85%;
}


.voli {
    width: 90%;
}


@keyframes progressAnimation {

    from {

        width: 0;

    }

}


/* =========================================
   SOCIAL MEDIA
========================================= */

.contact-description {

    color: #7f94a8;

    margin-top: 20px;
}


.social-container {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    margin-top: 30px;
}


.social-card {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 20px;

    color: white;

    text-decoration: none;

    background: #081522;

    border: 1px solid #1b3a57;

    transition: 0.4s;
}


.social-card > span {

    font-size: 30px;
}


.social-card small {

    display: block;

    color: #60758a;

    font-size: 9px;

    letter-spacing: 2px;
}


.social-card strong {

    color: #dce8f3;

    letter-spacing: 1px;
}


.social-card:hover {

    background: #12385a;

    border-color: #249cff;

    transform: translateY(-7px);

    box-shadow:
        0 10px 30px rgba(36, 156, 255, 0.2);
}


.social-card:hover strong {

    color: #249cff;
}


/* =========================================
   FOOTER
========================================= */

footer {

    text-align: center;

    padding: 50px 20px;

    background: #02070d;

    border-top: 1px solid #16324c;

    box-shadow:
        0 -20px 50px rgba(0, 0, 0, 0.4);
}


.footer-logo {

    font-size: 25px;

    font-weight: 900;

    letter-spacing: 4px;

    color: white;
}


.footer-logo span {

    color: #249cff;

}


footer p {

    color: #249cff;

    margin: 10px 0;

    letter-spacing: 2px;

    font-size: 13px;
}


footer small {

    color: #506477;

}


/* =========================================
   RESPONSIVE TABLET / HP
========================================= */

@media (max-width: 800px) {

    .navbar {

        height: auto;

        padding: 18px 5%;

        flex-direction: column;

        gap: 15px;

    }


    .navbar ul {

        gap: 15px;

        flex-wrap: wrap;

        justify-content: center;

    }


    .hero {

        flex-direction: column-reverse;

        text-align: center;

        padding-top: 60px;

    }


    .intro {

        margin-left: auto;

        margin-right: auto;

    }


    .quote {

        border-left: none;

        border-bottom: 2px solid #249cff;

        padding-bottom: 8px;

    }


    .buttons {

        justify-content: center;

    }


    .about {

        grid-template-columns: 1fr;

    }


    .hobby-container {

        grid-template-columns: 1fr;

    }


    .social-container {

        grid-template-columns: 1fr;

    }

}


@media (max-width: 500px) {

    .hero h1 {

        font-size: 45px;

    }


    .hero h3 {

        font-size: 12px;

    }


    .profile {

        transform: scale(0.8);

        margin-bottom: -40px;

    }


    .section {

        padding: 70px 20px;

    }


    .title h2 {

        font-size: 30px;

    }


    .about-text,
    .data-box {

        padding: 25px;

    }

}