* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    scroll-behavior: smooth;
}

.navbar {
    position: fixed;
    z-index: 100;
    width: 100%;
    padding: 1rem 3rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.8rem 2.5rem;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.navbar-container:hover {
    padding: 1rem 2.5rem;
    border-radius: 2.5rem;
    transform: translateY(10px);
}

/* Logo Styles */
.navbar-brand .logo h1 {
    color: white;
    font-weight: 700;

}

/* Navigation Links */
.navbar-links {
    display: flex;
    gap: 1.5rem;
}

.navbar-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.navbar-links a:hover {
    color: white;
    transform: translateY(-2px);
}

/* Underline Animation */
.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, white);
    transition: width 0.4s ease;
}

.navbar-links a:hover::after {
    width: 100%;
}

/* Active Link */
.navbar-links a.active {
    color: white;
}

.navbar-links a.active::after {
    width: 100%;
}

/* Navbar Scroll Effect */
.navbar.scrolled {
    padding: 0.5rem 3rem;
    background-color: rgba(10, 42, 67, 0.9);
}

.navbar.scrolled .navbar-container {
    padding: 0.6rem 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 1.5rem;
    }

    .navbar-container {
        padding: 0.6rem 1.5rem;
    }

    .navbar-links {
        gap: 1rem;
    }
}

body {
    background-color: #0a2a43;
    /* min-height: 1500px; */
}

.hero-section {
    position: relative;
    width: 100%;
    height: 100dvh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;

}

.hero-section img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    will-change: transform;
}

.hero-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, #0a2a43, transparent);
    z-index: 99;

}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a2a43;
    z-index: 99;
    mix-blend-mode: color;
}

#hero-title {
    position: relative;
    color: white;
    font-size: 8rem;
    z-index: 1;
    will-change: transform;
}

#earth-planet {
    z-index: 2;
    will-change: transform;
}

#hero-desc {
    position: relative;
    color: white;
    font-size: 1.3rem;
    z-index: 1;
    will-change: transform;
}



.text-container {
    text-align: center;
    line-height: 80px;
}

/* Animasi mengambang */


.floating {
    animation: float 6s ease-in-out infinite;
    will-change: transform;
}

#satelite.floating {
    animation: float 4s ease-in-out infinite;
    animation-delay: 0.5s;
}

/* Animasi teks */
.animated-text {
    position: relative;
    background: linear-gradient(90deg, #00f7ff, #ff2d75);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
    }

    to {
        text-shadow: 0 0 20px rgba(0, 247, 255, 0.8),
            0 0 30px rgba(255, 45, 117, 0.5);
    }
}

/* Animasi typing untuk deskripsi */
.typing-text {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid #00f7ff;
    animation: typing 3.5s steps(30, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: #00f7ff
    }
}

/* Responsive text */
@media (max-width: 768px) {
    #hero-title {
        font-size: 4rem;
    }

    #hero-desc {
        font-size: 1rem;
    }

    #moon-planet {
        width: 100px;
    }

    #satelite {
        width: 70px;
    }

    #earth-planet {
        width: 1050px;
        bottom: 0%;
    }
}

.AboutSection {
    position: relative;
    background: #0a2a43;
}

.AboutSection::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 60% 20%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 80% 60%, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(2px 2px at 10% 80%, rgba(255, 255, 255, 0.3), transparent);
    pointer-events: none;
}

.scrolly-track {
    position: relative;
    height: calc(var(--card-count) * 70vh);
    z-index: 1;
}

.scrolly-pin {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    perspective: 1400px;
}

.scrolly-stage {
    position: relative;
    width: min(92%, 820px);
    height: min(88vh, 600px);
}

.scrolly-card {
    position: absolute;
    inset: 0;
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    opacity: 0;
    visibility: hidden;
}

.scrolly-card-content {
    width: 100%;
    height: 100%;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
}

.scrolly-card-content::before {
    content: "";
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.559)),
        url("./Images/bg.jpg");
    position: absolute;
    inset: 0;
    z-index: -1;
    filter: blur(5px);
    mix-blend-mode: color;
}

.scrolly-card-header {
    width: 100%;
    height: 3rem;
    background-color: rgb(24, 32, 50);
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.scrolly-card-header .dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.scrolly-card-header .dot:nth-child(1) {
    background: #ff5f57;
}

.scrolly-card-header .dot:nth-child(2) {
    background: #febc2e;
}

.scrolly-card-header .dot:nth-child(3) {
    background: #28c840;
}

.scrolly-card-body {
    flex: 1;
    padding: 2rem 2.5rem;
    display: flex;
    overflow: hidden;
    position: relative;
    min-height: 0;
}

.section-label {
    font-size: 1.8rem;
    font-weight: 700;
    color: #00f7ff;
    margin-bottom: 1.25rem;
    position: relative;
    display: inline-block;
}

.section-label::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40px;
    height: 3px;
    background: #00f7ff;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
}

/* --- Card 1: About Me --- */
.about-content {
    flex-direction: row;
    gap: 2.5rem;
    align-items: center;
}

.about-left {
    flex-shrink: 0;
}

.about-photo-frame {
    position: relative;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
}

.about-photo-glow {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: conic-gradient(#00f7ff, #ff2d75, #00f7ff);
    animation: spinGlow 4s linear infinite;
    z-index: -1;
}

@keyframes spinGlow {
    to {
        transform: rotate(360deg);
    }
}

.about-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(0, 0, 0, 0.4);
}

.about-right {
    flex: 1;
    min-width: 0;
}

.about-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
}

.about-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.06);
    padding: 0.75rem 1.25rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.meta-item i {
    font-size: 1.2rem;
    color: #00f7ff;
}

.meta-text {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.4);
}

.meta-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
}

/* --- Card 2: Tech Stack --- */
.tech-content {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}

.tech-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tech-header i {
    font-size: 1.8rem;
    color: #00f7ff;
}

.tech-header .section-label {
    margin-bottom: 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
    max-width: 500px;
}

.tech-grid .tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.tech-grid .tech-item i {
    font-size: 2rem;
    color: #00f7ff;
    transition: all 0.3s ease;
}

.tech-grid .tech-item span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.tech-grid .tech-item:hover {
    transform: translateY(-4px);
    background: rgba(0, 247, 255, 0.08);
    border-color: rgba(0, 247, 255, 0.25);
}

.tech-grid .tech-item:hover i {
    transform: scale(1.15);
}

/* --- Card 3: Education --- */
.edu-content {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}

.edu-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.edu-header i {
    font-size: 1.8rem;
    color: #00f7ff;
}

.edu-header .section-label {
    margin-bottom: 0;
}

.edu-timeline {
    position: relative;
    width: 100%;
    max-width: 460px;
    padding-left: 2rem;
}

.edu-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, #00f7ff, rgba(0, 247, 255, 0.2));
    border-radius: 2px;
}

.edu-item {
    position: relative;
    padding: 1rem 0 1rem 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.edu-dot {
    position: absolute;
    left: -1.90rem;
    top: 4rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #0a2a43;
    border: 3px solid #00f7ff;
    box-shadow: 0 0 10px rgba(0, 247, 255, 0.4);
}

.edu-info {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.edu-info:hover {
    background: rgba(0, 247, 255, 0.06);
    transform: translateX(4px);
}

.edu-date {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.edu-info h3 {
    font-size: 1.1rem;
    color: white;
    margin: 0.3rem 0 0.15rem;
    font-weight: 600;
}

.edu-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* --- Progress dots --- */
.scrolly-progress {
    position: fixed;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 20;
}

.scrolly-progress-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s ease;
    padding: 0;
}

.scrolly-progress-dot.active {
    background: #00f7ff;
    border-color: #00f7ff;
    box-shadow: 0 0 12px rgba(0, 247, 255, 0.5);
    transform: scale(1.3);
}

/* --- Scroll hint --- */
.scroll-hint {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 20;
    animation: hintPulse 2s ease-in-out infinite;
    transition: opacity 0.6s ease;
}

@keyframes hintPulse {

    0%,
    100% {
        opacity: 0.4;
        transform: translateX(-50%) translateY(0);
    }

    50% {
        opacity: 0.8;
        transform: translateX(-50%) translateY(-6px);
    }
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255, 255, 255, 0.4);
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    transform: rotate(45deg);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .scrolly-track {
        height: auto;
    }

    .scrolly-pin {
        position: static;
        height: auto;
        display: block;
        perspective: none;
        padding: 2rem 1rem;
    }

    .scrolly-stage {
        position: static;
        height: auto;
        width: 100%;
    }

    .scrolly-card {
        position: static;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        margin-bottom: 1.5rem;
    }

    .scrolly-card-body {
        padding: 1.75rem;
    }

    .about-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .about-photo-frame {
        width: 160px;
        height: 160px;
        margin: 0 auto;
    }

    .about-meta {
        justify-content: center;
    }

    .scrolly-progress,
    .scroll-hint {
        display: none;
    }
}

/* Ubah MpkPage height menjadi auto */
.projects-section {
    position: relative;
    width: 100%;
    min-height: 100dvh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 0;
}

.projects-section img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    z-index: 0;
}

.projects-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, #0a2a43, transparent);
    z-index: 99;

}

.projects-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a2a43;
    z-index: 50;
    mix-blend-mode: color;
    pointer-events: none;
}

/* Ubah Gatau menjadi container grid */
.projects-content {
    color: white;
    padding: 2rem;
    background: rgba(71, 89, 111, 0.43);
    border-radius: 1rem;
    max-width: 1200px;
    width: 95%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    position: relative;
    overflow: visible;
    margin: 2rem auto;
    z-index: 51;
    transform: translateZ(0);
}

.card-title h1 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.content {
    display: block;
}

#meteor,
#asteroid {
    z-index: 52;
    filter: blur(3px) brightness(0.6) sepia(1) hue-rotate(180deg) saturate(1.5);
}


.social {
    padding: 4rem 2rem;
    background-color: #0a2a43;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 110vh;
    position: relative;
}

.social::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./Images/bg.jpg') center/cover no-repeat;
    opacity: 0.2;
    z-index: 0;
}

.social::after {
    content: '';
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 10rem;
    background: linear-gradient(to bottom, #0a2a43, transparent);
}

.social-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 800px;
    text-align: center;
}

.social-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #00f7ff;
    text-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
}

.social-media {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
}

.social-icon i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.social-icon span {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
}

.social-icon:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.social-icon.github:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: #6e5494;
}

.social-icon.instagram:hover {
    background: rgba(225, 48, 108, 0.3);
    border-color: #e1306c;
}

.social-icon.whatsapp:hover {
    background: rgba(37, 211, 102, 0.3);
    border-color: #25d366;
}

.social-icon.youtube:hover {
    background: rgba(211, 37, 37, 0.3);
    border-color: #d32525;
}

.social-icon:hover i {
    transform: scale(1.2);
}

@keyframes floatSocial {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.social-icon {
    animation: floatSocial 6s ease-in-out infinite;
}

.social-icon:nth-child(2) {
    animation-delay: 0.5s;
}

.social-icon:nth-child(3) {
    animation-delay: 1s;
}

@media (max-width: 768px) {
    .social-media {
        flex-direction: row;
        gap: 1.5rem;
    }

    .social-icon {
        width: 100px;
        height: 100px;
    }

    .social-icon i {
        font-size: 3rem;
    }

    .social-icon span {
        display: none;
    }
}

.site-footer {
    color: white;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
}

.footer-content {
    background-color: #0a2a43;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 2px solid rgba(15, 14, 47, 0.686);
    backdrop-filter: blur(8px);
    box-shadow: 0px 0px 20px rgba(0, 142, 147, 0.5);
}

.mouse-light {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.6), rgba(0, 0, 255, 0.2), transparent 80%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.1s ease;
    z-index: 200;
    box-shadow:
        0 0 20px rgba(0, 255, 255, 0.4),
        0 0 40px rgba(0, 0, 255, 0.3),
        0 0 80px rgba(255, 0, 255, 0.2);
}

/* Grid layout untuk projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}

/* Project card di dalam grid */
.projects-grid .project-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: .5rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.projects-grid .project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: #90fbff;
}

.projects-grid .project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.projects-grid .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.projects-grid .project-card:hover .project-image img {
    transform: scale(1.05);
}

.projects-grid .project-details {
    padding: 1rem 1rem 3rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: rgba(10, 42, 67, 0.7);
    gap: 0.75rem;
    min-width: 0;
}

.detail-top {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    min-width: 0;
}

.detail-top .detail-text {
    flex: 1;
    min-width: 0;
}

.project-tech {
    display: flex;
    position: absolute;
    bottom: 2%;
    gap: 0.4rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 247, 255, 0.3) transparent;
    -webkit-overflow-scrolling: touch;
}

.project-tech::-webkit-scrollbar {
    height: 3px;
}

.project-tech::-webkit-scrollbar-track {
    background: transparent;
}

.project-tech::-webkit-scrollbar-thumb {
    background: rgba(0, 247, 255, 0.3);
    border-radius: 4px;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.6rem;
    font-size: 0.7rem;
    font-weight: 500;
    color: #00f7ff;
    background: rgba(0, 247, 255, 0.08);
    border: 1px solid rgba(0, 247, 255, 0.2);
    border-radius: 0.4rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.tech-badge i {
    font-size: 0.75rem;
    color: #00f7ff;
}

.project-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
    flex-direction: column;
}

.projects-grid .detail-text h3 {
    font-size: 1.3rem;
}

.projects-grid .detail-text p {
    font-size: 0.9rem;
    color: rgba(171, 226, 255, 0.8);
}

.projects-grid .project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: white;
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    border: 1px solid transparent;
}

.projects-grid .project-link:hover {
    background: rgba(0, 247, 255, 0.2);
    color: #00f7ff;
}

.projects-grid .demo-link {
    background: rgba(0, 247, 255, 0.12);
    border-color: rgba(0, 247, 255, 0.25);
    color: #00f7ff;
}

.projects-grid .demo-link:hover {
    background: rgba(0, 247, 255, 0.25);
    box-shadow: 0 0 12px rgba(0, 247, 255, 0.2);
}

/* GitHub card di grid */
.projects-grid .github-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(0, 247, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.projects-grid .github-card .project-links {
    text-align: center;
    padding: 2rem;
}

.projects-grid .github-card h1 {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.9);
}

.projects-grid .github-card a {
    color: #00f7ff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.projects-grid .github-card a:hover {
    text-shadow: 0 0 20px rgba(0, 247, 255, 0.5);
}

/* Hapus style carousel yang tidak terpakai */
.project-carousel,
.carousel-container,
.carousel-btn {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }

    .projects-content {
        padding: 1rem;
        margin: 1rem;
        width: 98%;
    }

    .mouse-light {
        display: none;
    }

    .projects-grid .project-image {
        height: 180px;
    }

    .projects-grid .project-details {
    padding: 0.85rem 0.85rem 3rem 0.85rem;
    }

    .projects-grid .detail-text h3 {
        font-size: 1.1rem;
    }

    .projects-grid .project-link {
        font-size: 0.75rem;
        padding: 0.35rem 0.65rem;
    }

    .projects-grid .github-card {
        min-height: 200px;
    }

    .projects-grid .github-card h1 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid .project-image {
        height: 200px;
    }
}


@media (max-width: 768px) {

    body {
        font-size: 14px;
    }

    .navbar {
        padding: 0.5rem 1rem;
    }

    .navbar-container {
        padding: 0.5rem 1rem;
        border-radius: 1.5rem;
    }

    .navbar-links {
        gap: 0.8rem;
    }

    .navbar-links a {
        font-size: 0.9rem;
    }

    #hero-title {
        font-size: 3.5rem;
        line-height: 1.2;
    }

    #hero-desc {
        font-size: 1rem;
    }

    .text-container {
        line-height: 60px;
    }

    .card-title h1 {
        font-size: 1.5rem;
    }

    .social {
        padding: 3rem 1rem;
        height: auto;
        min-height: 100vh;
    }

    .social-title {
        font-size: 2rem;
    }

    .social-media {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .social-icon {
        width: 100px;
        height: 100px;
    }

    .social-icon i {
        font-size: 2rem;
    }

    .social-icon span {
        font-size: 0.9rem;
    }

    .footer-content {
        padding: 0.8rem;
    }

    #moon-planet,
    #satelite,
    #meteor,
    #asteroid {
        display: none;
    }
}

@media (max-width: 600px) {

    .navbar-links {
        gap: 0.5rem;
    }

    .navbar-links a {
        font-size: 0.8rem;
    }

    #hero-title {
        font-size: 3.3rem;
    }

    #hero-desc {
        font-size: 0.9rem;
        margin-bottom: 5rem;
    }

    .card-title h1 {
        font-size: 1.3rem;
    }

    .content h3 {
        font-size: 1.1rem;
    }

    .social-icon {
        width: 80px;
        height: 80px;
    }

    .social-icon i {
        font-size: 1.8rem;
    }

    .social-icon span {
        font-size: 0.8rem;
    }

    .text-container {
        line-height: 15px;
    }
}

@media (max-width: 400px) {

    .navbar {
        padding: 0.5rem 0.5rem;
    }

    .navbar-container {
        padding: 0.5rem;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .navbar-links a {
        font-size: 0.7rem;
    }

    #hero-title {
        font-size: 3.3rem;
    }

    .social-media {
        gap: 0.8rem;
    }

    .social-icon {
        width: 70px;
        height: 70px;

    }

    .social-icon i {
        font-size: 2.2rem;
    }

    .text-container {
        line-height: 15px;
    }
}

@media (max-width: 768px) {

    .hero-section img#home-bg {
        background-position: center;
    }

    .hero-section img#earth-planet {
        width: 550px;

        top: auto;
        bottom: 30%;
        right: 10%;
    }

    .parallax-container img.parallax-bg {
        object-position: 70% center;
    }

    .parallax-container img#meteor {
        width: 80px;
        top: 15%;
        left: -20px;
    }

    .parallax-container img#asteroid {
        width: 100px;
        bottom: 10%;
        right: -30px;
    }

    .floating {
        animation: floatMobile 4s ease-in-out infinite;
    }

    @keyframes floatMobile {

        0%,
        100% {
            transform: translateY(0) scale(0.8);
        }

        50% {
            transform: translateY(-10px) scale(0.8);
        }
    }
}

@media (max-width: 480px) {
    .hero-section img#earth-planet {
        width: 440px;
        bottom: 0%;
    }

    .parallax-container img#meteor {
        width: 60px;
    }

    .parallax-container img#asteroid {
        width: 80px;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .hero-section img#earth-planet {
        width: 100px;
        bottom: 25%;
    }

    #hero-title {
        font-size: 2.5rem;
    }

    .hero-section {
        height: 120vh;
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .navbar-container {
        padding: 1rem 2rem;
        border-radius: 2rem;
    }

    .navbar-links {
        position: absolute;
        top: 100%;
        right: 2rem;
        background-color: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 1rem;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 2rem;

        opacity: 0;
        transition: all 0.3s ease-in-out;
        pointer-events: none;
    }

    .navbar-links.show {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
        background-color: rgba(0, 0, 0, 0.421);

    }
}



.AchievementsPage {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    color: white;
}

.AchievementsPage .parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.AchievementsPage::after,
.AboutSection::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 42, 67, 0.85);
    z-index: 0;
}

.AboutSection::before {
    content: '';
    display: flex;
    position: absolute;
    top: 100%;
    left: 0%;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, #0a2a43, transparent);
    z-index: 99;
}

.AchievementsContainer {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: #00f7ff;
    text-shadow: 0 0 15px rgba(0, 247, 255, 0.5);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.25rem;
    padding: 0;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 1.25rem;
    padding: 1.75rem 1.5rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.25s ease, box-shadow 0.35s ease, border-color 0.3s ease;
    -webkit-user-select: none;
    user-select: none;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(ellipse at 0% 0%, rgba(0, 247, 255, 0.04), transparent 60%);
    pointer-events: none;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    border-color: rgba(0, 247, 255, 0.2);
}

.achievement-card-top {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.achievement-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    transition: transform 0.3s ease;
}

.achievement-card:hover .achievement-icon {
    transform: scale(1.08);
}

.achievement-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rank-icon-1 {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.06);
}

.rank-icon-2 {
    background: rgba(192, 192, 192, 0.1);
    border: 1px solid rgba(192, 192, 192, 0.3);
    box-shadow: 0 0 12px rgba(192, 192, 192, 0.06);
}

.rank-icon-3 {
    background: rgba(205, 127, 50, 0.1);
    border: 1px solid rgba(205, 127, 50, 0.3);
    box-shadow: 0 0 12px rgba(205, 127, 50, 0.06);
}

.achievement-info {
    flex: 1;
    min-width: 0;
}

.achievement-info h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.achievement-level-year {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.achievement-level {
    font-size: 0.78rem;
    font-weight: 600;
    color: #00f7ff;
    letter-spacing: 0.02em;
}

.achievement-level::after {
    content: '';
    display: inline-block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    margin: 0 0.5rem;
    vertical-align: middle;
}

.achievement-year {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 500;
}

.achievement-desc {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.achievement-desc p {
    font-size: 0.85rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.55);
}

.rank-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.7rem;
    border-radius: 2rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    z-index: 2;
    backdrop-filter: blur(4px);
}

.rank-badge svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
    stroke: none;
}

.rank-gold {
    background: rgba(255, 215, 0, 0.12);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.25);
}

.rank-silver {
    background: rgba(192, 192, 192, 0.12);
    color: #c0c0c0;
    border: 1px solid rgba(192, 192, 192, 0.25);
}

.rank-bronze {
    background: rgba(205, 127, 50, 0.12);
    color: #cd7f32;
    border: 1px solid rgba(205, 127, 50, 0.25);
}

@media (max-width: 768px) {
    .AchievementsPage {
        padding: 4rem 1rem;
        height: auto;
        min-height: 100vh;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }

    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .achievement-card {
        padding: 1.25rem;
    }

    .achievement-card-top {
        gap: 0.85rem;
    }

    .achievement-icon {
        width: 40px;
        height: 40px;
    }

    .achievement-icon svg {
        width: 22px;
        height: 22px;
    }

    .achievement-info h3 {
        font-size: 1rem;
    }

    .achievement-desc p {
        font-size: 0.82rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .achievement-card {
        padding: 1.1rem;
    }

    .achievement-info h3 {
        font-size: 0.95rem;
    }

    .achievement-level {
        font-size: 0.75rem;
    }

    .achievement-desc p {
        font-size: 0.8rem;
    }

    .rank-badge {
        top: 0.8rem;
        right: 0.8rem;
        padding: 0.2rem 0.5rem;
        font-size: 0.65rem;
    }
}

@-ms-viewport {
    width: device-width;
}

.shooting-stars-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.shooting-star {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px 2px #00f7ff;
    opacity: 0;
    animation-name: shootingStar;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.shooting-star::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 247, 255, 1), transparent);
    transform: rotate(-150deg);
    transform-origin: left center;
}

@keyframes shootingStar {
    0% {
        transform: translateX(0) translateY(0) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        transform: translateX(100vw) translateY(100vh) scale(1);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .shooting-stars-container {
        display: none;
    }
}


@media (max-width: 768px) {

    .shooting-star,
    .shooting-star-2 {
        display: none;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    25% {
        transform: translateY(-20px) translateX(10px);
    }

    50% {
        transform: translateY(0) translateX(20px);
    }

    75% {
        transform: translateY(20px) translateX(10px);
    }
}

.shooting-star {
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.stars-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.stars-container::before {
    content: '';
    position: absolute;
    width: 2000px;
    height: 2000px;
    background: transparent;
    background-image: radial-gradient(white 2px, transparent 2px);
    background-size: 50px 50px;
    animation: moveStars 120s linear infinite;
    opacity: 0.2;
    top: -500px;
    left: -500px;
}



@keyframes moveStars {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-100px);
    }
}


.stars-container .twinkle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    opacity: 0.6;
    box-shadow: 0 0 10px 3px #00f7ff;
    animation: twinkle 2s infinite ease-in-out;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.2;
    }

    50% {
        opacity: 1;
    }
}