/* =========================================================
   ZERO FIRE PORTFOLIO
   Clean / Modern / Responsive
========================================================= */

:root {
    --primary: #4f9cf9;
    --primary-dark: #2675df;
    --primary-light: #eaf4ff;

    --text: #172033;
    --text-light: #667085;

    --background: #f8fbff;
    --surface: rgba(255, 255, 255, 0.78);
    --white: #ffffff;

    --border: rgba(30, 100, 180, 0.12);

    --shadow-sm: 0 8px 25px rgba(39, 103, 174, 0.08);
    --shadow: 0 20px 60px rgba(39, 103, 174, 0.12);
    --shadow-lg: 0 30px 90px rgba(39, 103, 174, 0.18);

    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 30px;

    --container: 1180px;

    --transition: 0.3s ease;
}


/* =========================================================
   DARK MODE
========================================================= */

body.dark {
    --text: #f2f6ff;
    --text-light: #a8b3c7;

    --background: #08111f;
    --surface: rgba(16, 30, 49, 0.82);
    --white: #101d30;

    --border: rgba(145, 190, 255, 0.13);

    --primary-light: rgba(79, 156, 249, 0.12);

    --shadow-sm: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 30px 90px rgba(0, 0, 0, 0.3);
}


/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--text);
    background:
        linear-gradient(
            135deg,
            #f8fbff 0%,
            #eef7ff 45%,
            #ffffff 100%
        );
    min-height: 100vh;
    overflow-x: hidden;
    transition:
        background 0.4s ease,
        color 0.4s ease;
}

body.dark {
    background:
        radial-gradient(
            circle at top right,
            rgba(42, 111, 202, 0.15),
            transparent 35%
        ),
        #08111f;
}

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

button {
    border: none;
    font-family: inherit;
    cursor: pointer;
}

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


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: min(92%, var(--container));
    margin: auto;
}

.section {
    padding: 120px 0;
    position: relative;
}


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

.background-decoration {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

.blur-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.45;
}

.circle-one {
    width: 350px;
    height: 350px;
    background: rgba(78, 156, 249, 0.15);
    top: 10%;
    left: -120px;
}

.circle-two {
    width: 300px;
    height: 300px;
    background: rgba(99, 196, 255, 0.12);
    right: -100px;
    top: 40%;
}

.circle-three {
    width: 260px;
    height: 260px;
    background: rgba(79, 156, 249, 0.1);
    bottom: -100px;
    left: 35%;
}


/* =========================================================
   SCROLL PROGRESS
========================================================= */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--primary),
        #72c8ff
    );
    z-index: 9999;
}


/* =========================================================
   NAVBAR
========================================================= */

.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
}

.navbar {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;

    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

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

    box-shadow: var(--shadow-sm);
}

.dark .navbar {
    background: rgba(12, 26, 43, 0.72);
}


/* Logo */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;

    font-weight: 700;
    font-size: 17px;
    white-space: nowrap;
}

.logo > span:last-child > span {
    color: var(--primary);
}

.logo-box {
    width: 37px;
    height: 37px;

    display: grid;
    place-items: center;

    color: white;
    font-size: 12px;
    font-weight: 700;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #68b7ff,
            #347fdc
        );

    box-shadow:
        0 7px 18px rgba(65, 139, 223, 0.3);
}


/* Navigation */

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    position: relative;

    color: var(--text-light);
    font-size: 13px;
    font-weight: 500;

    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    border-radius: 10px;
    background: var(--primary);

    transition: var(--transition);
}

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


/* Theme */

.theme-toggle {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border-radius: 11px;

    color: var(--text);
    background: var(--primary-light);

    transition: var(--transition);
}

.theme-toggle:hover {
    transform: rotate(15deg);
    color: var(--primary);
}


/* Mobile Menu */

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    border-radius: 12px;

    color: var(--text);
    background: var(--primary-light);

    font-size: 18px;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;

    padding-top: 150px;
    padding-bottom: 100px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 70px;
}


/* Available */

.available {
    width: fit-content;

    display: flex;
    align-items: center;
    gap: 9px;

    padding: 7px 13px;
    margin-bottom: 22px;

    border-radius: 50px;

    color: #3280d8;
    background: rgba(79, 156, 249, 0.09);

    border: 1px solid rgba(79, 156, 249, 0.12);

    font-size: 11px;
    font-weight: 600;
}

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

    border-radius: 50%;

    background: #39c985;

    box-shadow:
        0 0 0 4px rgba(57, 201, 133, 0.12);

    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,
    100% {
        box-shadow:
            0 0 0 4px rgba(57, 201, 133, 0.12);
    }

    50% {
        box-shadow:
            0 0 0 8px rgba(57, 201, 133, 0.03);
    }
}


.hero-small {
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 7px;
}

.hero h1 {
    font-size: clamp(52px, 7vw, 88px);
    line-height: 1.05;
    letter-spacing: -4px;
    font-weight: 800;
}

.hero h1 span {
    color: var(--primary);
}

.hero h2 {
    margin-top: 10px;

    max-width: 650px;

    font-size: clamp(21px, 3vw, 31px);
    line-height: 1.3;
    font-weight: 600;
}

.hero h2 span {
    color: var(--primary);
}

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

    margin-top: 22px;

    color: var(--text-light);

    font-size: 15px;
    line-height: 1.9;
}


/* Hero Buttons */

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-top: 30px;
}

.btn {
    min-height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 0 21px;

    border-radius: 13px;

    font-size: 13px;
    font-weight: 600;

    transition: var(--transition);
}

.btn-primary {
    color: white;

    background:
        linear-gradient(
            135deg,
            #66b8ff,
            #347fdc
        );

    box-shadow:
        0 12px 28px rgba(52, 127, 220, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 17px 35px rgba(52, 127, 220, 0.35);
}

.btn-outline {
    color: var(--text);

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

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

.dark .btn-outline {
    background: rgba(255, 255, 255, 0.04);
}

.btn-outline:hover {
    color: var(--primary);
    border-color: rgba(79, 156, 249, 0.35);
    transform: translateY(-3px);
}


/* Social */

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.social-links a {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    color: var(--text-light);

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

    background: var(--surface);

    transition: var(--transition);
}

.social-links a:hover {
    color: white;
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-4px);
}


/* =========================================================
   HERO VISUAL
========================================================= */

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

    position: relative;

    display: grid;
    place-items: center;
}


/* Profile Card */

.profile-card {
    position: relative;

    width: min(370px, 85%);

    padding: 22px;

    text-align: center;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.92),
            rgba(235, 246, 255, 0.78)
        );

    border: 1px solid rgba(79, 156, 249, 0.14);

    border-radius: 28px;

    box-shadow: var(--shadow-lg);

    backdrop-filter: blur(20px);
}

.dark .profile-card {
    background:
        linear-gradient(
            145deg,
            rgba(24, 43, 67, 0.9),
            rgba(13, 28, 46, 0.85)
        );
}


/* Card Top */

.card-top {
    display: flex;
    align-items: center;
    gap: 5px;

    text-align: left;

    margin-bottom: 28px;
}

.mini-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #a7d5ff;
}

.card-label {
    margin-left: auto;

    color: var(--text-light);
    font-size: 9px;
    font-weight: 500;
}


/* Avatar */

.profile-avatar {
    display: flex;
    justify-content: center;

    margin-bottom: 22px;
}

.avatar-ring {
    width: 150px;
    height: 150px;

    padding: 7px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #77c5ff,
            #4b91e7,
            #c6e9ff
        );

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

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

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

.avatar {
    width: 100%;
    height: 100%;

    display: grid;
    place-items: center;

    color: #76bfff;

    background:
        linear-gradient(
            145deg,
            #f4faff,
            #dbefff
        );

    border-radius: 50%;

    font-size: 50px;
}

.dark .avatar {
    background: #13263d;
}

.profile-card h3 {
    font-size: 23px;
    font-weight: 700;
}

.profile-card > p {
    margin-top: 3px;

    color: var(--text-light);
    font-size: 12px;
}

.profile-line {
    height: 1px;

    margin: 22px 0;

    background: var(--border);
}

.profile-info {
    display: flex;
    justify-content: center;
    gap: 18px;

    color: var(--text-light);
    font-size: 10px;
}

.profile-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.profile-info i {
    color: var(--primary);
}


/* Floating Cards */

.floating-card {
    position: absolute;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 12px 15px;

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

    background: var(--surface);

    backdrop-filter: blur(15px);

    box-shadow: var(--shadow);

    color: var(--text);
    font-size: 11px;
    font-weight: 600;
}

.floating-card i {
    color: var(--primary);
}

.card-code {
    left: 2%;
    top: 19%;

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

.card-design {
    right: 0;
    bottom: 18%;

    animation: floatCard 4s ease-in-out infinite 1s;
}

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

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


/* Scroll Down */

.scroll-down {
    position: absolute;
    bottom: 35px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;

    color: var(--text-light);

    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-down i {
    color: var(--primary);
    animation: scrollArrow 1.5s infinite;
}

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

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


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {
    max-width: 700px;
    margin-bottom: 55px;
}

.section-heading.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-label {
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.section-heading h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.2;
    letter-spacing: -1.5px;
}

.section-heading h2 span {
    color: var(--primary);
}

.section-heading > p:last-child {
    margin-top: 13px;
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.8;
}


/* =========================================================
   ABOUT PROFILE
========================================================= */

.about {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(226, 241, 255, 0.35),
            transparent
        );
}

.dark .about {
    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(30, 75, 120, 0.08),
            transparent
        );
}


/* Layout */

.about-profile-layout {
    display: grid;

    grid-template-columns: 1fr 0.85fr;

    align-items: center;

    gap: 80px;
}


/* =========================================================
   LEFT TEXT
========================================================= */

.about-profile-text {
    position: relative;
}

.about-intro-label {
    display: block;

    margin-bottom: 12px;

    color: var(--primary);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 3px;
}


.about-profile-text h3 {
    max-width: 600px;

    font-size: clamp(40px, 5vw, 65px);

    line-height: 1.05;

    letter-spacing: -3px;

    font-weight: 800;
}


.about-profile-text h3 span {
    display: block;

    color: var(--primary);
}


/* Role */

.about-role {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-top: 17px;

    color: var(--text-light);

    font-size: 11px;
    font-weight: 500;
}

.about-role span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #39c985;

    box-shadow:
        0 0 0 5px rgba(57, 201, 133, 0.1);
}


/* Description */

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

    margin-top: 25px;

    color: var(--text-light);

    font-size: 13px;

    line-height: 2;
}

.about-description + .about-description {
    margin-top: 14px;
}

.about-description strong {
    color: var(--text);
    font-weight: 600;
}


/* =========================================================
   INTERESTS
========================================================= */

.about-interests {
    display: flex;

    flex-wrap: wrap;

    gap: 9px;

    margin-top: 25px;
}


.about-interest {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 9px 12px;

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

    border-radius: 50px;

    background: var(--surface);

    color: var(--text-light);

    font-size: 9px;
    font-weight: 500;

    backdrop-filter: blur(12px);

    transition: var(--transition);
}


.about-interest i {
    color: var(--primary);
}


.about-interest:hover {
    color: var(--primary);

    border-color:
        rgba(79, 156, 249, 0.3);

    transform: translateY(-3px);
}


/* =========================================================
   BUTTON
========================================================= */

.about-button {
    width: fit-content;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-top: 30px;

    padding: 13px 18px;

    color: white;

    background:
        linear-gradient(
            135deg,
            #68b7ff,
            #347fdc
        );

    border-radius: 13px;

    font-size: 11px;
    font-weight: 600;

    box-shadow:
        0 12px 28px rgba(52, 127, 220, 0.22);

    transition: var(--transition);
}


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

    gap: 14px;

    box-shadow:
        0 17px 35px rgba(52, 127, 220, 0.32);
}


/* =========================================================
   RIGHT PHOTO
========================================================= */

.about-profile-visual {
    position: relative;

    min-height: 500px;

    display: flex;

    align-items: center;

    justify-content: center;
}


.about-photo-wrapper {
    position: relative;

    width: 390px;

    max-width: 100%;
}


/* Glow */

.about-photo-glow {
    position: absolute;

    width: 280px;
    height: 280px;

    top: 50%;
    left: 50%;

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

    border-radius: 50%;

    background:
        rgba(79, 156, 249, 0.22);

    filter: blur(65px);

    z-index: 0;
}


/* Photo Frame */

.about-photo-frame {
    position: relative;

    width: 100%;

    aspect-ratio: 0.82;

    overflow: hidden;

    padding: 8px;

    border-radius: 30px;

    background:
        linear-gradient(
            145deg,
            #72c8ff,
            #347fdc,
            #bce7ff
        );

    box-shadow:
        0 30px 70px rgba(39, 103, 174, 0.22);

    transform:
        rotate(2deg);

    transition: var(--transition);

    z-index: 1;
}


.about-photo-frame:hover {
    transform:
        rotate(0deg)
        translateY(-7px);

    box-shadow:
        0 35px 85px rgba(39, 103, 174, 0.3);
}


/* Image */

.about-photo-frame img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 23px;

    background:
        linear-gradient(
            145deg,
            #eaf6ff,
            #d7edff
        );
}


/* =========================================================
   FLOATING CARD
========================================================= */

.about-photo-card {
    position: absolute;

    left: -35px;
    bottom: 55px;

    z-index: 3;

    display: flex;
    align-items: center;

    gap: 11px;

    padding: 13px 16px;

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

    border-radius: 15px;

    background: var(--surface);

    backdrop-filter: blur(18px);

    box-shadow: var(--shadow);

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


@keyframes aboutFloat {

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

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

}


.about-photo-card-icon {
    width: 39px;
    height: 39px;

    display: grid;
    place-items: center;

    border-radius: 11px;

    color: var(--primary);

    background: var(--primary-light);
}


.about-photo-card div:last-child {
    display: flex;
    flex-direction: column;

    gap: 2px;
}


.about-photo-card strong {
    font-size: 10px;
}


.about-photo-card span {
    color: var(--text-light);

    font-size: 8px;
}


/* =========================================================
   NUMBER
========================================================= */

.about-photo-number {
    position: absolute;

    right: -25px;
    top: 35px;

    z-index: 3;

    color: var(--primary);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;

    writing-mode: vertical-rl;
}


/* =========================================================
   DARK MODE
========================================================= */

.dark .about-photo-frame {
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.35);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .about-profile-layout {
        grid-template-columns: 1fr;

        gap: 55px;
    }

    .about-profile-text {
        max-width: 700px;
    }

    .about-profile-visual {
        min-height: auto;

        padding: 20px 0 40px;
    }

    .about-photo-wrapper {
        width: min(390px, 80%);
    }

}


@media (max-width: 600px) {

    .about-profile-layout {
        gap: 35px;
    }

    .about-profile-text h3 {
        font-size: 39px;

        letter-spacing: -1.8px;
    }

    .about-description {
        font-size: 11px;

        line-height: 1.9;
    }

    .about-interests {
        gap: 7px;
    }

    .about-interest {
        font-size: 8px;

        padding: 8px 10px;
    }

    .about-profile-visual {
        padding-top: 10px;
    }

    .about-photo-wrapper {
        width: 78%;
    }

    .about-photo-card {
        left: -20px;
        bottom: 35px;
    }

    .about-photo-number {
        right: -18px;
    }

}

/* =========================================================
   PROJECTS
========================================================= */

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.project-card {
    overflow: hidden;

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

    background: var(--surface);

    backdrop-filter: blur(15px);

    box-shadow: var(--shadow-sm);

    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}


/* Project Preview */

.project-image {
    height: 235px;

    display: grid;
    place-items: center;

    padding: 25px;

    overflow: hidden;

    position: relative;
}

.project-one {
    background:
        linear-gradient(
            135deg,
            #dff2ff,
            #f8fcff
        );
}

.project-two {
    background:
        linear-gradient(
            135deg,
            #e7f7ff,
            #f9fdff
        );
}

.project-three {
    background:
        linear-gradient(
            135deg,
            #dcefff,
            #f6fbff
        );
}

.dark .project-one,
.dark .project-two,
.dark .project-three {
    background:
        linear-gradient(
            135deg,
            #102b46,
            #0d1e31
        );
}


/* Browser Window */

.project-window {
    width: 90%;
    height: 80%;

    overflow: hidden;

    border: 1px solid rgba(70, 130, 190, 0.15);
    border-radius: 12px;

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

    box-shadow: 0 15px 35px rgba(45, 109, 169, 0.18);

    transform: perspective(600px) rotateX(3deg);

    transition: var(--transition);
}

/* GAMBAR PROJECT */
.project-window img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-card:hover .project-window {
    transform: perspective(600px) rotateX(0) translateY(-4px);
}

.window-header {
    height: 23px;

    display: flex;
    align-items: center;
    gap: 4px;

    padding-left: 9px;

    background: rgba(225, 239, 251, 0.9);
}

.window-header span {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #9cc7e9;
}

.window-content {
    padding: 18px;
}

.mock-title {
    width: 45%;
    height: 10px;

    border-radius: 5px;

    background: #579de4;
}

.mock-line {
    width: 80%;
    height: 5px;

    margin-top: 12px;

    border-radius: 5px;

    background: #d5e8f7;
}

.mock-line.short {
    width: 60%;
    margin-top: 6px;
}

.mock-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;

    margin-top: 20px;
}

.mock-cards span {
    height: 65px;

    border-radius: 7px;

    background:
        linear-gradient(
            135deg,
            #cce8fc,
            #f0f8ff
        );
}


/* Shop Mock */

.shop-mock {
    padding: 12px;
}

.shop-nav {
    width: 100%;
    height: 8px;

    border-radius: 5px;

    background: #75baff;
}

.product-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;

    margin-top: 14px;
}

.product-row span {
    height: 58px;

    border-radius: 7px;

    background:
        linear-gradient(
            135deg,
            #d3edff,
            #f5fbff
        );
}

.small-row {
    margin-top: 8px;
}

.small-row span {
    height: 25px;
}


/* Dashboard Mock */

.dashboard-mock {
    width: 90%;
    height: 80%;

    display: flex;

    overflow: hidden;

    border-radius: 10px;

    background: white;

    box-shadow: 0 15px 35px rgba(45, 109, 169, 0.18);
}

.dashboard-sidebar {
    width: 23%;

    padding: 15px 8px;

    background: #e8f5ff;
}

.dashboard-sidebar span {
    display: block;

    height: 7px;

    margin-bottom: 12px;

    border-radius: 4px;

    background: #9fd0f5;
}

.dashboard-main {
    flex: 1;
    padding: 14px;
}

.dashboard-top {
    width: 55%;
    height: 10px;

    border-radius: 5px;

    background: #5da5e8;
}

.chart {
    height: 75px;

    display: flex;
    align-items: end;
    gap: 8px;

    margin-top: 15px;
    padding: 8px;

    border-radius: 7px;

    background: #f0f8ff;
}

.chart i {
    flex: 1;

    border-radius: 3px 3px 0 0;

    background: #7fc5f8;
}

.chart i:nth-child(1) {
    height: 35%;
}

.chart i:nth-child(2) {
    height: 55%;
}

.chart i:nth-child(3) {
    height: 45%;
}

.chart i:nth-child(4) {
    height: 75%;
}

.chart i:nth-child(5) {
    height: 60%;
}

.dashboard-boxes {
    display: flex;
    gap: 7px;
    margin-top: 9px;
}

.dashboard-boxes span {
    flex: 1;
    height: 25px;

    border-radius: 5px;

    background: #e2f2ff;
}


/* Project Info */

.project-info {
    padding: 24px;
}

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

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.project-info h3 {
    margin-top: 8px;

    font-size: 18px;
}

.project-info p {
    margin-top: 9px;

    color: var(--text-light);

    font-size: 11px;
    line-height: 1.8;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;

    margin-top: 17px;
}

.project-tech span {
    padding: 5px 8px;

    border-radius: 6px;

    color: var(--text-light);

    background: var(--primary-light);

    font-size: 8px;
    font-weight: 500;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 20px;

    color: var(--text);

    font-size: 10px;
    font-weight: 600;

    transition: var(--transition);
}

.project-link:hover {
    color: var(--primary);
    gap: 12px;
}


/* =========================================================
   EXPERIENCE
========================================================= */

.timeline {
    max-width: 850px;

    margin: auto;

    position: relative;
}

.timeline::before {
    content: "";

    position: absolute;

    left: 19px;
    top: 0;
    bottom: 0;

    width: 1px;

    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(79, 156, 249, 0.35),
            transparent
        );
}

.timeline-item {
    position: relative;

    display: grid;
    grid-template-columns: 100px 1fr;

    gap: 25px;

    padding-bottom: 45px;
}

.timeline-dot {
    position: absolute;

    left: 14px;
    top: 4px;

    width: 11px;
    height: 11px;

    border-radius: 50%;

    background: var(--primary);

    box-shadow:
        0 0 0 6px var(--background),
        0 0 0 7px rgba(79, 156, 249, 0.25);
}

.timeline-date {
    color: var(--primary);

    font-size: 11px;
    font-weight: 700;

    text-align: right;
}

.timeline-content {
    padding: 22px;

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

    background: var(--surface);

    box-shadow: var(--shadow-sm);

    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.timeline-type {
    color: var(--primary);

    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.timeline-content h3 {
    margin-top: 7px;
    font-size: 17px;
}

.timeline-content p {
    margin-top: 9px;

    color: var(--text-light);

    font-size: 11px;
    line-height: 1.8;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;

    margin-top: 14px;
}

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

    border-radius: 6px;

    background: var(--primary-light);

    color: var(--primary);

    font-size: 8px;
}


/* =========================================================
   CONTACT
========================================================= */

.contact {
    padding-bottom: 140px;
}

.contact-box {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;

    padding: 55px;

    overflow: hidden;

    border-radius: 32px;

    background:
        linear-gradient(
            135deg,
            #e8f6ff,
            #f8fcff
        );

    border: 1px solid rgba(79, 156, 249, 0.15);

    box-shadow: var(--shadow-lg);
}

.dark .contact-box {
    background:
        linear-gradient(
            135deg,
            #102b46,
            #0e1d30
        );
}

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

    position: absolute;

    width: 250px;
    height: 250px;

    border-radius: 50%;

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

    background: rgba(79, 156, 249, 0.1);

    filter: blur(20px);
}

.contact-content {
    position: relative;
    z-index: 1;

    max-width: 650px;
}

.contact-content h2 {
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.2;
    letter-spacing: -1px;
}

.contact-content h2 span {
    display: block;
    color: var(--primary);
}

.contact-content > p:not(.section-label) {
    max-width: 520px;

    margin-top: 15px;

    color: var(--text-light);

    font-size: 12px;
    line-height: 1.8;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 18px;

    color: var(--primary);

    font-size: 12px;
    font-weight: 600;
}

.contact-actions {
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.contact-social {
    display: flex;
    gap: 8px;
}

.contact-social a {
    width: 36px;
    height: 36px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    color: var(--text-light);

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

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

    transition: var(--transition);
}

.dark .contact-social a {
    background: rgba(255, 255, 255, 0.04);
}

.contact-social a:hover {
    color: white;
    background: var(--primary);
    transform: translateY(-3px);
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding: 25px 0;

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

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

.dark .footer {
    background: rgba(0, 0, 0, 0.08);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer p {
    color: var(--text-light);
    font-size: 10px;
}

.footer p i {
    color: #ff6b81;
}

.back-top {
    width: 37px;
    height: 37px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    color: var(--primary);

    background: var(--primary-light);

    transition: var(--transition);
}

.back-top:hover {
    transform: translateY(-4px);
}


/* =========================================================
   REVEAL ANIMATION
========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(30px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   RESPONSIVE TABLET
========================================================= */

@media (max-width: 1000px) {

    .nav-menu {
        gap: 17px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

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

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

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

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

    .project-card:last-child {
        grid-column: span 2;
        max-width: 500px;
        margin: auto;
    }
}


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

@media (max-width: 760px) {

    .section {
        padding: 85px 0;
    }

    .header {
        padding: 12px 0;
    }

    .navbar {
        height: 58px;
    }

    .menu-toggle {
        display: grid;
        place-items: center;
    }

    .nav-menu {
        position: absolute;

        top: calc(100% + 10px);
        left: 0;
        right: 0;

        padding: 20px;

        display: flex;
        flex-direction: column;
        align-items: stretch;

        border-radius: 18px;

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

        backdrop-filter: blur(20px);

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

        box-shadow: var(--shadow);

        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);

        transition: var(--transition);
    }

    .dark .nav-menu {
        background: rgba(12, 26, 43, 0.96);
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-link {
        padding: 10px 5px;
        font-size: 13px;
    }

    .nav-link::after {
        display: none;
    }

    .theme-toggle {
        width: 100%;
    }


    /* Hero */

    .hero {
        min-height: auto;
        padding-top: 130px;
        padding-bottom: 90px;
    }

    .hero h1 {
        font-size: clamp(45px, 14vw, 70px);
        letter-spacing: -3px;
    }

    .hero h2 {
        font-size: 20px;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

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

    .profile-card {
        width: 300px;
    }

    .floating-card {
        font-size: 9px;
    }

    .card-code {
        left: 0;
    }

    .card-design {
        right: 0;
    }

    .scroll-down {
        display: none;
    }


    /* Heading */

    .section-heading {
        margin-bottom: 38px;
    }

    .section-heading h2 {
        font-size: 31px;
    }


    /* Skills */

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

    .skill-card {
        padding: 17px;
    }


    /* Projects */

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

    .project-card:last-child {
        grid-column: auto;
        max-width: none;
    }

    .project-image {
        height: 210px;
    }


    /* Timeline */

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

    .timeline-item {
        display: block;
        padding-left: 30px;
    }

    .timeline-dot {
        left: 0;
    }

    .timeline-date {
        text-align: left;
        margin-bottom: 12px;
    }


    /* Contact */

    .contact-box {
        flex-direction: column;
        align-items: flex-start;

        padding: 32px 25px;

        border-radius: 25px;
    }

    .contact-actions {
        align-items: flex-start;
    }


    /* Footer */

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

}


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

@media (max-width: 400px) {

    .container {
        width: 90%;
    }

    .logo {
        font-size: 15px;
    }

    .logo-box {
        width: 34px;
        height: 34px;
    }

    .hero h1 {
        font-size: 45px;
    }

    .profile-card {
        width: 275px;
    }

    .profile-info {
        flex-direction: column;
        gap: 7px;
    }

    .floating-card {
        padding: 9px 11px;
    }

    .card-code {
        left: -7px;
    }

    .card-design {
        right: -7px;
    }

}

/* =========================================================
   DIGITAL GRID ANIMATION - ALL SECTIONS
========================================================= */

.section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

/* Grid background */
.section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(79, 156, 249, 0.055) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(79, 156, 249, 0.055) 1px,
            transparent 1px
        );

    background-size: 55px 55px;

    mask-image: linear-gradient(
        to bottom,
        transparent,
        black 20%,
        black 80%,
        transparent
    );

    animation: gridMove 18s linear infinite;
}

/* Cahaya yang bergerak */
.section::after {
    content: "";
    position: absolute;

    width: 500px;
    height: 500px;

    left: -250px;
    top: 20%;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(79, 156, 249, 0.13),
        transparent 65%
    );

    filter: blur(20px);

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

    animation: lightMove 12s ease-in-out infinite alternate;
}


/* =========================================================
   GRID MOVEMENT
========================================================= */

@keyframes gridMove {

    0% {
        background-position:
            0 0,
            0 0;
    }

    100% {
        background-position:
            0 55px,
            55px 0;
    }

}


/* =========================================================
   LIGHT MOVEMENT
========================================================= */

@keyframes lightMove {

    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(
            calc(100vw - 200px),
            80px
        );
    }

    100% {
        transform: translate(
            calc(100vw - 100px),
            250px
        );
    }

}


/* =========================================================
   DARK MODE
========================================================= */

body.dark .section::before {

    background-image:
        linear-gradient(
            rgba(79, 156, 249, 0.045) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(79, 156, 249, 0.045) 1px,
            transparent 1px
        );

}

body.dark .section::after {

    background: radial-gradient(
        circle,
        rgba(30, 130, 255, 0.16),
        transparent 65%
    );

}


/* =========================================================
   PROJECT PHOTO PREVIEW - FIXED
========================================================= */
.project-card {
    overflow: hidden;
}

.project-image {
    height: 235px;
    overflow: hidden;
}

.project-window.photo-window {
    width: 90%;
    height: 80%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-window.photo-window .window-header {
    flex: 0 0 23px;
}

.project-window.photo-window img {
    width: 100%;
    height: calc(100% - 23px);
    flex: 1 1 auto;
    min-height: 0;
    display: block;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 760px) {
    .project-image {
        height: 210px;
    }
}

/* POPUP FOTO HOBBY */
.image-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 25px;
}

.image-popup.active {
    display: flex;
}

.image-popup-content {
    position: relative;
    max-width: 900px;
    width: 90%;
}

.image-popup-content img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 18px;
    display: block;
}

.image-popup-close {
    position: absolute;
    top: -45px;
    right: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 22px;
    display: grid;
    place-items: center;
    cursor: pointer;
}

/* MUSIC PLAYER */

.music-player {
    width: 100%;
    height: 100%;
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.music-top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 20px;
}

.music-top i {
    color: var(--primary);
    margin-right: 7px;
}

.music-cover {
    width: 105px;
    height: 105px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(
        135deg,
        var(--primary),
        #72c8ff
    );
    color: white;
    font-size: 35px;
    box-shadow: 0 15px 40px rgba(79,156,249,.25);
}

.music-player h2 {
    margin-top: 18px;
    font-size: 21px;
    color: var(--text);
}

.music-player p {
    margin-top: 4px;
    color: var(--text-light);
    font-size: 11px;
}

/* =========================================================
   MUSIC VISUALIZER
========================================================= */

.music-visualizer {
    width: 80%;
    height: 45px;
    margin: 20px 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    pointer-events: none;
}

.music-visualizer span {
    width: 5px;
    height: 8px;
    border-radius: 10px;
    background: var(--primary);
    transform-origin: center;
}

/* ANIMASI SAAT MUSIK BERJALAN */

.music-player.playing .music-visualizer span {
    animation: musicWave 0.8s ease-in-out infinite alternate;
}

/* Tinggi setiap bar dibuat berbeda */

.music-player.playing .music-visualizer span:nth-child(1) {
    animation-delay: 0s;
}

.music-player.playing .music-visualizer span:nth-child(2) {
    animation-delay: .12s;
}

.music-player.playing .music-visualizer span:nth-child(3) {
    animation-delay: .24s;
}

.music-player.playing .music-visualizer span:nth-child(4) {
    animation-delay: .36s;
}

.music-player.playing .music-visualizer span:nth-child(5) {
    animation-delay: .48s;
}

.music-player.playing .music-visualizer span:nth-child(6) {
    animation-delay: .60s;
}

.music-player.playing .music-visualizer span:nth-child(7) {
    animation-delay: .48s;
}

.music-player.playing .music-visualizer span:nth-child(8) {
    animation-delay: .36s;
}

.music-player.playing .music-visualizer span:nth-child(9) {
    animation-delay: .24s;
}

.music-player.playing .music-visualizer span:nth-child(10) {
    animation-delay: .12s;
}

.music-player.playing .music-visualizer span:nth-child(11) {
    animation-delay: 0s;
}

.music-player.playing .music-visualizer span:nth-child(12) {
    animation-delay: .18s;
}


@keyframes musicWave {

    0% {
        height: 7px;
        transform: scaleY(.6);
    }

    50% {
        height: 30px;
        transform: scaleY(1);
    }

    100% {
        height: 42px;
        transform: scaleY(.7);
    }

}
/* PLAY BUTTON */

.music-play {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: grid;
    place-items: center;
    font-size: 15px;
    box-shadow: 0 10px 25px rgba(79,156,249,.25);
    transition: .3s ease;
    cursor: pointer;
}

.music-play:hover {
    transform: scale(1.08);
}
/* =========================================================
   SPOTIFY MUSIC PLAYER CONTROLS
========================================================= */

.music-progress-area {
    width: 85%;
    display: grid;
    grid-template-columns: 35px 1fr 35px;
    align-items: center;
    gap: 10px;
    margin: 5px 0 18px;
}

.music-progress-area span {
    font-size: 11px;
    color: var(--text-light);
    text-align: center;
}

#musicProgress {
    width: 100%;
    height: 5px;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 10px;
    outline: none;
    cursor: pointer;

    background: linear-gradient(
        to right,
        var(--primary) 0%,
        var(--primary) 0%,
        #dcecff 0%,
        #dcecff 100%
    );
}

#musicProgress::-webkit-slider-runnable-track {
    height: 5px;
    border-radius: 10px;
    background: transparent;
}

#musicProgress::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    margin-top: -5px;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(79,156,249,.3);
}

#musicProgress::-moz-range-track {
    height: 5px;
    border-radius: 10px;
    background: transparent;
}

#musicProgress::-moz-range-progress {
    height: 5px;
    border-radius: 10px;
    background: var(--primary);
}

#musicProgress::-moz-range-thumb {
    width: 15px;
    height: 15px;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
}


/* MUSIC CONTROLS */

.music-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.music-controls button {
    border: none;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font-size: 17px;
    transition: .3s ease;
}

.music-controls button:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.music-controls .music-play {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: grid;
    place-items: center;
    font-size: 15px;
    box-shadow: 0 10px 25px rgba(79,156,249,.25);
    transition: .3s ease;
}

.music-controls .music-play:hover {
    color: white;
    transform: scale(1.08);
}


/* MOBILE */

@media (max-width: 600px) {

    .music-progress-area {
        width: 90%;
        grid-template-columns: 32px 1fr 32px;
        gap: 7px;
    }

    .music-controls {
        gap: 20px;
    }

}

.music-player {
    position: relative;
}

.music-visualizer,
.music-cover {
    pointer-events: none;
}

.music-controls {
    position: relative;
    z-index: 1000;
    pointer-events: auto;
}

.music-controls button {
    position: relative;
    z-index: 1001;
    pointer-events: auto !important;
    cursor: pointer;
}

.music-play {
    pointer-events: auto !important;
}

/* =========================================================
   MUSIC COVER ROTATION
========================================================= */

.music-cover {
    animation: musicRotate 8s linear infinite;
    animation-play-state: paused;
}

.music-player.playing .music-cover {
    animation-play-state: running;
}

@keyframes musicRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
/* =========================================================
   MESSAGE POPUP
========================================================= */

.message-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;

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

    padding: 20px;

    background: rgba(5, 15, 30, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

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

    transition: opacity .3s ease, visibility .3s ease;
}

.message-popup.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.message-popup-box {
    position: relative;
    width: 100%;
    max-width: 520px;

    padding: 32px;

    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 24px;

    background: rgba(20, 45, 65, .92);
    box-shadow: 0 25px 80px rgba(0, 0, 0, .35);

    transform: translateY(25px) scale(.96);
    transition: transform .35s ease;
}

.message-popup.active .message-popup-box {
    transform: translateY(0) scale(1);
}

.message-popup-close {
    position: absolute;
    top: 18px;
    right: 18px;

    width: 38px;
    height: 38px;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, .1);
    color: #fff;

    font-size: 25px;
    cursor: pointer;

    transition: .25s ease;
}

.message-popup-close:hover {
    background: rgba(255, 255, 255, .2);
    transform: rotate(90deg);
}

.message-popup-header {
    margin-bottom: 25px;
    padding-right: 40px;
}

.message-popup-header h2 {
    margin: 8px 0;
    color: #fff;
    font-size: 30px;
}

.message-popup-header h2 span {
    color: #4fc3f7;
}

.message-popup-header p {
    margin: 0;
    color: rgba(255, 255, 255, .65);
    font-size: 14px;
}

.message-field {
    margin-bottom: 17px;
}

.message-field label {
    display: block;
    margin-bottom: 7px;

    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.message-field input,
.message-field textarea {
    width: 100%;
    box-sizing: border-box;

    padding: 13px 15px;

    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 12px;
    outline: none;

    background: rgba(255, 255, 255, .08);
    color: #fff;

    font-family: inherit;
    font-size: 14px;

    transition: .25s ease;
}

.message-field input::placeholder,
.message-field textarea::placeholder {
    color: rgba(255, 255, 255, .4);
}

.message-field input:focus,
.message-field textarea:focus {
    border-color: #4fc3f7;
    background: rgba(255, 255, 255, .12);
    box-shadow: 0 0 0 3px rgba(79, 195, 247, .1);
}

.message-field textarea {
    resize: vertical;
    min-height: 120px;
}

.message-submit {
    width: 100%;
    padding: 14px 20px;

    border: 0;
    border-radius: 12px;

    background: #4fc3f7;
    color: #fff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition: .25s ease;
}

.message-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(79, 195, 247, .25);
}

.message-submit:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

.message-status {
    margin: 14px 0 0;
    text-align: center;
    font-size: 13px;
}

/* MOBILE */

@media (max-width: 600px) {
    .message-popup {
        padding: 15px;
    }

    .message-popup-box {
        padding: 25px 20px;
        border-radius: 20px;
    }

    .message-popup-header h2 {
        font-size: 25px;
    }
}
/* =========================================================
   GAMING / FUTURISTIC LOADER
========================================================= */

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

    background:
        radial-gradient(circle at center,
            rgba(50, 130, 220, .18),
            transparent 45%),
        #050b14;

    opacity: 1;
    visibility: visible;
    transition: opacity .7s ease, visibility .7s ease;
}

.page-loader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* GRID */

.page-loader::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(rgba(80,160,255,.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(80,160,255,.07) 1px, transparent 1px);

    background-size: 45px 45px;

    transform: perspective(500px) rotateX(60deg) scale(1.8);
    transform-origin: center bottom;

    animation: gridMove 4s linear infinite;
}

@keyframes gridMove {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 0 45px;
    }
}

/* SCANLINE */

.page-loader::after {
    content: "";
    position: absolute;
    inset: 0;

    background: repeating-linear-gradient(
        to bottom,
        transparent 0,
        transparent 4px,
        rgba(255,255,255,.025) 5px
    );

    pointer-events: none;
}

/* CONTENT */

.loader-content {
    position: relative;
    z-index: 2;

    width: min(520px, 85%);
}

/* TOP STATUS */

.loader-status {
    display: flex;
    justify-content: space-between;

    margin-bottom: 18px;

    font-family: monospace;
    font-size: 10px;
    letter-spacing: 2px;

    color: #5e7690;
}

.loader-status span:last-child {
    color: #55c7ff;
}

/* LOGO */

.loader-logo {
    position: relative;

    font-family: Arial, sans-serif;
    font-size: 82px;
    font-weight: 900;
    letter-spacing: -8px;

    color: #fff;

    text-align: center;

    text-shadow:
        0 0 10px rgba(70,170,255,.8),
        0 0 35px rgba(70,170,255,.45),
        0 0 80px rgba(70,170,255,.2);

    animation: logoPulse 1.4s ease-in-out infinite alternate;
}

.loader-logo span {
    color: #55c7ff;
}

@keyframes logoPulse {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.035);
    }
}

/* NAME */

.loader-name {
    margin-top: 5px;

    text-align: center;

    font-family: monospace;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 5px;

    color: #9aaabd;
}

.loader-name span {
    color: #55c7ff;
}

/* LOADING BOX */

.loader-loading {
    margin-top: 42px;
}

.loader-loading-title {
    display: flex;
    justify-content: space-between;

    margin-bottom: 9px;

    font-family: monospace;
    font-size: 10px;
    letter-spacing: 2px;

    color: #7890a8;
}

/* BAR */

.loader-line {
    position: relative;

    width: 100%;
    height: 8px;

    padding: 2px;

    background: #0c1826;
    border: 1px solid rgba(85,199,255,.25);

    box-shadow:
        0 0 20px rgba(60,150,255,.08);

    clip-path: polygon(
        0 0,
        98% 0,
        100% 50%,
        98% 100%,
        0 100%
    );
}

.loader-progress {
    width: 0;
    height: 100%;

    background: linear-gradient(
        90deg,
        #2675df,
        #55c7ff,
        #ffffff
    );

    box-shadow:
        0 0 12px #55c7ff,
        0 0 25px rgba(85,199,255,.5);

    transition: width .08s linear;
}

/* CORNERS */

.loader-corner {
    position: absolute;
    width: 25px;
    height: 25px;

    border-color: #55c7ff;
    border-style: solid;

    opacity: .7;
}

.loader-corner.top-left {
    top: -18px;
    left: -18px;
    border-width: 2px 0 0 2px;
}

.loader-corner.top-right {
    top: -18px;
    right: -18px;
    border-width: 2px 2px 0 0;
}

.loader-corner.bottom-left {
    bottom: -18px;
    left: -18px;
    border-width: 0 0 2px 2px;
}

.loader-corner.bottom-right {
    bottom: -18px;
    right: -18px;
    border-width: 0 2px 2px 0;
}

/* BOTTOM INFO */

.loader-bottom {
    display: flex;
    justify-content: space-between;

    margin-top: 13px;

    font-family: monospace;
    font-size: 9px;
    letter-spacing: 1px;

    color: #50667d;
}

#loaderPercent {
    color: #55c7ff;
}

/* LOADING DOT */

.loader-dots::after {
    content: "";
    animation: dots 1.2s steps(4, end) infinite;
}

@keyframes dots {
    0% {
        content: "";
    }

    25% {
        content: ".";
    }

    50% {
        content: "..";
    }

    75% {
        content: "...";
    }
}

/* MOBILE */

@media (max-width: 600px) {

    .loader-logo {
        font-size: 62px;
    }

    .loader-name {
        font-size: 10px;
        letter-spacing: 3px;
    }

    .loader-status {
        font-size: 8px;
    }

}
