:root {
    --bg:#0b0810;
    --card:#0f1013;
    --muted:#aeb0b8;
    --accent1:#ff2d55;
    --accent2:#6be0ff;
    --glass: rgba(255,255,255,0.04);
}

/* RESET */
* { box-sizing: border-box; }
html, body { height:100%; }
body {
    margin:0;
    font-family:'Poppins', sans-serif;
    background:var(--bg);
    color:#fff;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    overflow-y:auto;
}

/* BACKGROUND NEON */
.bg-wrap {
    position:fixed; inset:0; z-index:-2; overflow:hidden;
    background: radial-gradient(800px 400px at 10% 20%, rgba(255,45,85,0.08), transparent 20%),
                radial-gradient(700px 400px at 90% 80%, rgba(107,224,255,0.06), transparent 20%),
                linear-gradient(180deg,#0b0810 0%, #0f0816 100%);
}
.bg-wrap::before {
    content:""; position:absolute; inset:-20%;
    background: conic-gradient(
        from 120deg at 50% 50%, 
        rgba(255,45,85,0.06), 
        rgba(107,224,255,0.06), 
        rgba(182,110,255,0.04), 
        rgba(255,45,85,0.06)
    );
    filter: blur(120px);
    animation: rotate 12s linear infinite;
    mix-blend-mode: screen;
    opacity:.85;
}
@keyframes rotate { to { transform: rotate(360deg); } }

/* SVG WAVE */
.waves {
    position:fixed; right:-10%; top:-10%;
    width:80vmin; height:80vmin;
    opacity:.35; z-index:-1;
}

/* PAGE LAYOUT */
.wrap {
    max-width:1200px;
    margin:40px auto;
    padding:40px;
    display:flex;
    gap:40px;
}

/* LEFT PANEL */
.left {
    width:320px;
    align-self:flex-start;
}

.card {
    background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border-radius:18px;
    padding:20px;
    box-shadow:0 10px 30px rgba(0,0,0,0.6);
    transform-style:preserve-3d;
    transition:transform .15s ease, box-shadow .15s ease;
    border:1px solid rgba(255,255,255,0.03);
    backdrop-filter:blur(6px);
}

.avatar { width:100%; border-radius:14px; overflow:hidden; }
.avatar img { width:100%; display:block; }

.title { text-align:center; margin-top:18px; }
.title h1 { margin:0 0 6px 0; font-size:20px; }
.title p { margin:0; color:var(--muted); font-size:13px; }

.socials {
    display:flex; gap:10px; justify-content:center;
    margin-top:14px;
}
.socials button {
    background:var(--glass);
    border:0; padding:8px 10px;
    border-radius:8px; cursor:pointer;
}

.info {
    display: flex;
    flex-direction: column;
    gap: 0px;
    width: 100%;
}
.info .row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    backdrop-filter: blur(5px);
    flex-wrap: wrap; /* ⬅️ Fix text keluar */
}
.info .row:last-child { border-bottom:0; }
.info .label { width:90px; font-size:12px; color:var(--accent1); }
.info .val { font-size:14px; color:var(--muted); }

.download {
    margin-top:18px;
    width:100%;
    padding:12px;
    border-radius:30px;
    border:0;
    cursor:pointer;
    background:linear-gradient(90deg,var(--accent1), #ff7a9a);
    color:#fff;
    font-weight:600;
    box-shadow:0 8px 24px rgba(255,45,85,0.12);
}

/* RIGHT SECTION */
.right { flex:1; }

.nav {
    display:flex;
    align-items:center;
    gap:14px;
}

.nav .nav-list {
    display:flex;
    gap:12px;
    padding:12px;
    background:rgba(0,0,0,0.35);
    border-radius:14px;
}

.nav .nav-item {
    min-width:88px; height:88px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:8px;
    border-radius:12px;
    background:rgba(0,0,0,0.25);
    cursor:pointer;
    transition:all .18s;
}
.nav .nav-item.active {
    background:linear-gradient(180deg,var(--accent1), #ff7a9a);
    transform:translateY(-6px);
    box-shadow:0 10px 30px rgba(255,45,85,0.12);
}
.nav .nav-item:hover {
    transform:translateY(-6px);
    box-shadow:0 10px 30px rgba(0,0,0,0.45);
}

.panel {
    margin-top:28px;
    background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    padding:32px;
    border-radius:18px;
}
.panel h2 { font-size:32px; margin:0; }
.panel .lead { margin-top:12px; line-height:1.7; color:var(--muted); }

.services {
    margin-top:20px;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
}
.service {
    background:rgba(255,255,255,0.02);
    padding:20px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,0.03);
    display:flex; gap:12px;
    align-items:center;
}
.service .icon {
    width:56px; height:56px;
    border-radius:10px;
    display:grid; place-items:center;
    background:linear-gradient(135deg,var(--accent2), #b76bff);
    box-shadow:0 8px 20px rgba(0,0,0,.45);
}
.service h3 { margin:0; font-size:16px; }
.service p { margin:6px 0 0 0; font-size:13px; color:var(--muted); }

/* Neon title */
.neon {
    color:var(--accent1);
    text-shadow:0 0 8px rgba(255,45,85,0.6),
                 0 0 20px rgba(255,45,85,0.12);
}

/* Tilt base */
.tilt { transform-style:preserve-3d; }

/* SCROLLBAR */
.nav .nav-list::-webkit-scrollbar { height:8px; }
.nav .nav-list::-webkit-scrollbar-thumb {
    background:rgba(255,255,255,0.06); border-radius:8px;
}

/* ---------------------------------------------------
      RESPONSIVE MOBILE (HP / ANDROID / IOS)
----------------------------------------------------*/
@media(max-width:900px) {

    /* Tumpuk layout jadi kolom */
    .wrap {
        flex-direction:column;
        padding:20px;
    }

    /* Pastikan ASIDE berada di ATAS */
    .left {
        order:-1;
        width:100%;
    }

    .right { width:100%; }

    /* Buat kartu profil lebih compact */
    .card {
        padding:18px;
        margin-bottom:20px;
    }

    .title h1 {
        font-size:18px;
    }

    .info .label { width:80px; }
    .info .val { font-size:13px; }

    /* NAV jadi scroll kiri-kanan */
    .nav {
        justify-content:center;
    }

    .nav .nav-list {
        overflow-x:auto;
        white-space:nowrap;
        width:100%;
    }

    .nav .nav-item {
        min-width:76px;
        height:76px;
    }

    /* Services menjadi 1 kolom */
    .services {
        grid-template-columns:1fr;
    }
}

/* HP sangat kecil (iPhone SE, Android lama) */
@media(max-width:480px) {

    .panel {
        padding:22px;
    }

    .panel h2 {
        font-size:26px;
    }

    .nav .nav-item {
        min-width:70px;
        height:70px;
    }

    .service {
        padding:16px;
    }

    .service .icon {
        width:48px; height:48px;
    }
}

/* CONTACT PANEL LAYOUT */
.contact-wrap {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.contact-info,
.contact-form {
    background: rgba(255,255,255,0.03);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.05);
}

/* CONTACT INFO CARD */
.contact-info h3 {
    font-size: 20px;
    margin: 0 0 15px 0;
}

.c-row {
    display: flex;
    margin: 10px 0;
}

.c-label {
    width: 100px;
    color: var(--accent1);
    font-size: 14px;
}

.c-val {
    color: var(--muted);
    font-size: 14px;
}

/* SOCIAL ICONS */
.social-contact {
    margin-top: 20px;
    display: flex;
    gap: 12px;
}

.sc {
    background: rgba(255,255,255,0.07);
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 20px;
    text-decoration: none;
    color: white;
    transition: .2s;
}

.sc:hover {
    background: var(--accent1);
    transform: translateY(-4px);
}

/* FORM */
.form-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 13px;
    margin-bottom: 6px;
    color: var(--accent2);
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.06);
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: .2s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent1);
    background: rgba(255,255,255,0.08);
}

/* SEND BUTTON */
.send-btn {
    width: 100%;
    margin-top: 6px;
    padding: 14px;
    border-radius: 30px;
    border: 0;
    cursor: pointer;
    font-weight: 600;
    color: white;
    background: linear-gradient(90deg, var(--accent1), #ff7a9a);
    box-shadow: 0 8px 24px rgba(255,45,85,0.12);
    transition: .2s;
}

.send-btn:hover {
    transform: translateY(-4px);
}

/* RESPONSIVE CONTACT */
@media(max-width:900px){
  .contact-wrap {
      grid-template-columns: 1fr;
  }
}

/* BEAUTIFUL GLASS NEON FORM */
.beautiful-form {
    padding: 22px !important;
    margin-top: 25px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.45);
}

/* Input Wrapper */
.input-wrap {
    position: relative;
    margin-bottom: 28px;
}

/* Input & Textarea */
.input-wrap input,
.input-wrap textarea {
    width: 100%;
    padding: 16px 14px 14px;
    font-size: 15px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.08);
    color: #fff;
    outline: none;
    resize: none;
    transition: 0.2s ease;
    backdrop-filter: blur(4px);
}

/* Floating Label */
.input-wrap label {
    position: absolute;
    left: 16px;
    top: 14px;
    font-size: 14px;
    color: var(--muted);
    pointer-events: none;
    transition: 0.25s ease;
}

/* Glow Border */
.input-wrap .focus-border {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    pointer-events: none;
    border: 2px solid transparent;
    transition: 0.25s;
}

/* INPUT FOCUS EFFECT */
.input-wrap input:focus,
.input-wrap textarea:focus {
    border-color: var(--accent1);
    background: rgba(255, 45, 85, 0.12);
    box-shadow: 0 0 20px rgba(255,45,85,0.2);
}

/* LABEL FLOAT ON FOCUS OR WHEN NOT EMPTY */
.input-wrap input:focus + label,
.input-wrap input:not(:placeholder-shown) + label,
.input-wrap textarea:focus + label,
.input-wrap textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 14px;
    font-size: 12px;
    color: var(--accent2);
    background: rgba(0,0,0,0.6);
    padding: 0 6px;
    border-radius: 6px;
}

/* Neon border animation */
.input-wrap input:focus ~ .focus-border,
.input-wrap textarea:focus ~ .focus-border {
    box-shadow: 0 0 24px rgba(107,224,255,0.25);
}

/* Send Button Upgrade */
.send-btn {
    width: 100%;
    padding: 14px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: white;
    font-size: 15px;
    background: linear-gradient(90deg, var(--accent1), var(--accent2));
    box-shadow: 0 12px 28px rgba(255,45,85,0.18);
    transition: .25s;
}

.send-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 14px 32px rgba(255,45,85,0.25);
}

/* Wrapper */
.input-wrap {
    position: relative;
    margin-bottom: 28px;
    width: 100%;
}

/* ICON INSIDE INPUT */
.input-wrap .input-icon {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    font-size: 18px;
    color: #00eaff;
    pointer-events: none;
    opacity: 0.8;
}

/* Input with left padding extra */
.icon-input input,
.icon-input textarea {
    padding-left: 45px !important;
}

/* Input & Textarea */
.input-wrap input,
.input-wrap textarea {
    width: 100%;
    padding: 14px 14px;
    font-size: 15px;
    background: rgba(20, 20, 20, 0.6);
    border: 2px solid #3a3a3a;
    border-radius: 12px;
    color: #fff;
    outline: none;
    transition: 0.3s ease;
    resize: none;
    box-shadow: inset 0 0 12px #000;
}

/* Focus glow */
.input-wrap input:focus,
.input-wrap textarea:focus {
    border-color: #00f0ff;
    box-shadow: 0 0 12px #00eaff, inset 0 0 12px #00eaff;
}

/* Floating Label */
.input-wrap label {
    position: absolute;
    top: 14px;
    left: 48px; /* geser karena icon */
    color: #aaa;
    font-size: 15px;
    pointer-events: none;
    transition: 0.28s ease;
}

/* Label naik */
.input-wrap input:focus ~ label,
.input-wrap textarea:focus ~ label,
.input-wrap input:valid ~ label,
.input-wrap textarea:valid ~ label {
    top: -10px;
    font-size: 13px;
    color: #00eaff;
    background: #0f0f0f;
    padding: 0 6px;
    border-radius: 5px;
    left: 14px;
}

/* Border animasi */
.input-wrap .focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #00eaff, #ff00f2);
    transition: 0.3s ease;
}

.input-wrap input:focus ~ .focus-border,
.input-wrap textarea:focus ~ .focus-border {
    width: 100%;
}

/* Responsive */
@media (max-width: 480px) {
    .input-wrap .input-icon {
        font-size: 16px;
        left: 12px;
    }

    .input-wrap label {
        font-size: 14px;
    }

    .icon-input input,
    .icon-input textarea {
        padding-left: 40px;
    }
}

.socials {
    display: flex;
    gap: 14px;
    margin-top: 18px;
}

.social-btn {
    width: 50px;
    height: 50px;
    background: rgba(20,20,20,0.6);
    border: 2px solid #2a2a2a;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #9be9ff;
    transition: 0.35s ease;
    position: relative;
    box-shadow: inset 0 0 12px #000, 0 0 0 #00eaff;
}

.social-btn svg {
    width: 22px;
    height: 22px;
    transition: 0.35s ease;
}

/* Hover Glow + Gradient Pulse */
.social-btn:hover {
    border-color: #00eaff;
    color: #00eaff;
    box-shadow: 
        0 0 12px #00eaff,
        0 0 22px #00eaff,
        inset 0 0 14px #00eaff;
    transform: translateY(-4px) scale(1.08);
}

/* Show border when hover */
.social-btn:hover::before {
    opacity: 1;
}

.contact-map {
    padding: 22px;
    margin-top: 25px;
}

.map-title {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--accent2);
    text-shadow: 0 0 12px rgba(107,224,255,0.4);
}

.map-wrap {
    position: relative;
    width: 100%;
    height: 260px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: brightness(0.85) saturate(1.2) contrast(1.1);
}

.map-info {
    margin-top: 16px;
    background: rgba(255,255,255,0.03);
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.06);
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

.map-info strong {
    color: var(--accent1);
}

.val {
    color: #ddd;
    display: flex;
    align-items: center;
    flex: 1;              /* ⬅️ Make text adaptive */
    min-width: 150px;
    overflow-wrap: break-word;
}

/* Clean Link */
.clean-link {
    text-decoration: none;
    color: #ddd;
    transition: 0.3s ease;
    word-break: break-word;  /* ⬅️ Very important */
}

.clean-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #ff6bcb, #7b5bff, #3acbf0);
  transition: width 0.4s ease;
  border-radius: 2px;
}

.clean-link:hover {
  color: #ff9df2;                   /* warna berubah saat hover */
  transform: translateX(3px);       /* sedikit geser kanan animasi */
}

.clean-link:hover::after {
  width: 100%;                      /* garis animasi muncul */
}

.nav-list {
    display: flex;
    justify-content: space-between;
    padding: 15px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 8px 5px;
    transition: 0.2s;
    color: #fff;
}

.nav-item svg {
    width: 26px;
    height: 26px;
}

.nav-item.active {
    color: #00d4ff;
}

.nav-text {
    font-size: 13px;
    margin-top: 6px;
}

.ds-header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    backdrop-filter: blur(12px);
    background: rgba(20, 20, 20, 0.45);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 8px 0;
}

.header-container {
    width: 92%;
    max-width: 1350px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #fff;
}

.logo img {
    width: 38px;
    height: 38px;
    border-radius: 10px;
}

.header-nav {
    display: flex;
    gap: 30px;
}

.header-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.25s;
    position: relative;
}

.header-nav a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent1), var(--accent2));
    transition: 0.3s;
    border-radius: 4px;
}

.header-nav a:hover::after {
    width: 100%;
}

/* MOBILE MENU */
.menu-toggle {
    width: 30px;
    cursor: pointer;
    display: none;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    height: 4px;
    background: #fff;
    border-radius: 3px;
    transition: 0.3s;
}

/* RESPONSIVE BREAKPOINT */
@media (max-width: 850px) {

    .menu-toggle {
        display: flex;
    }

    .header-nav {
        position: fixed;
        top: 65px;
        right: -100%;
        width: 65%;
        height: 100vh;
        background: rgba(15, 15, 15, 0.95);
        backdrop-filter: blur(18px);
        flex-direction: column;
        padding: 40px 25px;
        gap: 25px;
        transition: 0.35s ease-in-out;
    }

    .header-nav.active {
        right: 0;
    }
}

/* MENU ANIM */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.info .row {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 5px 0;
}

.info .icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}
.info .icon svg {
    width: 100%;
    height: 100%;
    fill: var(--accent1);
    transition: 0.3s;
}

.info .row:hover .icon svg {
    fill: var(--accent2);
    transform: scale(1.15);
}

.label {
    font-weight: 600;
    color: #fff;
    flex: 0 0 90px;        /* Responsive label width */
    max-width: 120px;
}

.clean-link {
    text-decoration: none;
    color: #ddd;
    transition: 0.3s ease;
}

.clean-link:hover {
    color: var(--accent1);
}

.download {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;
    padding: 14px 22px;

    background: linear-gradient(90deg, var(--accent1), var(--accent2));
    border: none;
    border-radius: 40px;

    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;

    box-shadow: 0 8px 24px rgba(255,45,85,0.18);
    position: relative;
    overflow: hidden;

    transition: transform .25s ease, box-shadow .25s ease;
}

/* SVG Icon */
.download .dl-icon {
    width: 22px;
    height: 22px;
    stroke: #fff;
    flex-shrink: 0;
    transition: transform .25s ease, stroke .25s ease;
}

/* Hover Animation */
.download:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(255,45,85,0.28);
}

.download:hover .dl-icon {
    transform: translateY(2px);
    stroke: #fff;
}

/* Gradient slide effect */
.download::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--accent2), var(--accent1));
    opacity: 0;
    transition: opacity .3s ease;
}

/* Make sure text stays above gradient animation */
.download * {
    position: relative;
    z-index: 2;
}

/* Responsive */
@media (max-width: 600px) {
    .download {
        font-size: 15px;
        padding: 12px 18px;
    }
    .download .dl-icon {
        width: 20px;
        height: 20px;
    }
}

.falling-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.icon-fall {
    position: absolute;
    top: -50px;
    font-size: 28px;
    opacity: 0.9;
    user-select: none;
    animation: fall linear forwards;
    filter: drop-shadow(0 0 4px rgba(255,255,255,0.5));
}

@keyframes fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(110vh) rotate(360deg);
        opacity: 0;
    }
}

.services {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.service {
  display: flex;
  align-items: center;
  border-radius: 12px;
  padding: 16px;
  flex: 1 1 250px; /* responsive */
  max-width: 300px;
  transition: transform 0.3s;
}

.service:hover {
  transform: translateY(-5px);
}

.icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  margin-right: 12px;
}

.icon svg {
  width: 100%;
  height: 100%;
}

h3 {
  margin: 0 0 4px 0;
  font-size: 1.1rem;
}

p {
  margin: 0;
  font-size: 0.9rem;
  color: #4b5563;
}

.input-icon svg {
  width: 24px;
  height: 24px;
}

.send-btn svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 600px) {
  .input-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .input-icon {
    margin-bottom: 6px;
  }

  .send-btn {
    width: 100%;
    text-align: center;
  }
}

.line {
  width: 150px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  border-radius: 4px;
  margin-top: 12px;
}

/* Grid responsive */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* Item pekerjaan */
.work-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.3s;
}

.work-item:hover {
  transform: translateY(-5px);
}

.work-image {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 70%; /* Aspect ratio 7:5 */
  overflow: hidden;
}

.work-image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px 12px 0 0;
}

/* Overlay deskripsi */
.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 8px;
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 0 0 12px 12px;
}

.work-item:hover .overlay {
  opacity: 1;
}

.work-title {
  text-align: center;
  padding: 8px 0;
  font-weight: bold;
  font-size: 1rem;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .works-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }
}


.work-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s;
}

.work-item:hover {
  transform: translateY(-5px);
}

.work-image {
  width: 100%;
  height: 150px; /* ukuran lebih kecil */
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 8px;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}

.work-item:hover .work-image img {
  transform: scale(1.05);
}

.work-title {
  font-weight: bold;
  margin-bottom: 6px;
  text-align: center;
}

.work-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 6px;
}

.work-buttons button {
  padding: 6px 10px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.3s;
}

.view-btn {
  background: #3B82F6;
  color: #fff;
}

.view-btn:hover {
  background: #2563eb;
  transform: scale(1.05);
}

.desc-btn {
  background: #10B981;
  color: #fff;
}

.desc-btn:hover {
  background: #059669;
  transform: scale(1.05);
}

.work-description {
  display: none;
  padding: 8px;
  font-size: 0.85rem;
  color: #374151;
  text-align: justify;
  border-top: 1px solid #e5e7eb;
  width: 100%;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.work-description.active {
  display: block;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.work-item {
  background: rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.work-item:hover {
  transform: translateY(-5px);
}

.work-image {
  position: relative;
  width: 100%;
  height: 100px;
  overflow: hidden;
  display: flex;
  border-radius: 12px;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}

.work-item:hover .work-image img {
  transform: scale(1.05);
}

/* Overlay */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.65);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s;
  padding: 10px;
  text-align: center;
}

.work-item:hover .overlay {
  opacity: 1;
}

.overlay-buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.overlay-buttons button {
  padding: 6px 10px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.3s;
}

.view-btn {
  background: #3B82F6;
  color: #fff;
}

.view-btn:hover {
  background: #2563eb;
  transform: scale(1.05);
}

.desc-btn {
  background: #10B981;
  color: #fff;
}

.desc-btn:hover {
  background: #059669;
  transform: scale(1.05);
}

.work-title {
  font-weight: bold;
  margin-top: 8px;
  text-align: center;
  font-size: 1rem;
}

.description {
  display: none;
  max-height: 200px;
  overflow-y: auto;
  font-size: 0.85rem;
  text-align: justify;
}

/* Responsive hover fallback for mobile */
@media (hover: none) and (pointer: coarse) {
  .overlay {
    opacity: 1;
    justify-content: flex-end;
    background: rgba(0,0,0,0.5);
  }
}

.desc-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  width: 90%;
  max-width: 400px;
  max-height: 60%;
  overflow-y: auto;
  z-index: 9999;
  transition: transform 0.3s ease;
}

.desc-popup.active {
  transform: translate(-50%, -50%) scale(1);
}

.desc-content {
  padding: 20px;
  position: relative;
}

.desc-content p {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #fff;
}

.close-popup {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #fff;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
}

.nav-item:hover {
    transform: scale(1.1) rotateX(10deg) rotateY(5deg);
    background: linear-gradient(135deg, #facc15, #3b82f6);
}

.nav-item:hover .nav-svg {
    stroke: #fff;
    filter: drop-shadow(2px 2px 3px rgba(0,0,0,0.3));
}

/* Optional: gradient definition */
svg defs {
    /* bisa definisikan linearGradient di masing-masing SVG jika mau */
}

/* Responsive */
@media (max-width: 600px) {
    .nav-item {
        gap: 4px;
        padding: 6px 8px;
    }

    .nav-svg {
        width: 18px;
        height: 18px;
    }

    .nav-text {
        font-size: 0.85rem;
    }
}

/* Coin Panel Styling */
#coinPanel {
    animation: fadeIn .4s ease;
}

.coin-balance-box {
    margin: 20px 0;
    padding: 20px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    text-align: center;
}

.balance-title {
    font-size: 16px;
    opacity: .7;
}

.balance-value {
    font-size: 42px;
    font-weight: bold;
    margin-top: 5px;
    color: var(--accent1);
}

.coin-form {
    margin-top: 25px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    padding: 20px;
    border-radius: 12px;
}

.coin-form h3 {
    margin-bottom: 15px;
}

.coin-form input,
.coin-form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    border-radius: 10px;
}

.coin-submit-btn {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(90deg,var(--accent1),var(--accent2));
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

.coin-info {
    margin-top: 10px;
    opacity: .7;
    font-size: 14px;
}

.payment-info {
    margin-top: 15px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.15);
    padding: 15px;
    border-radius: 12px;
    animation: fadeIn .3s ease;
}

.payment-info h4 {
    margin-bottom: 10px;
    color: var(--accent1);
    font-size: 18px;
}

.payment-item {
    margin-bottom: 10px;
    font-size: 15px;
}

.payment-item span {
    font-weight: bold;
}

.payment-note {
    margin-top: 10px;
    opacity: .7;
    font-size: 13px;
}

/* Mobile responsive */
@media(max-width: 480px){
    .payment-info {
        padding: 12px;
    }
    .payment-info h4 {
        font-size: 16px;
    }
    .payment-item {
        font-size: 14px;
    }
}

.qris-box {
    margin-top: 15px;
    text-align: center;
    animation: fadeIn .3s ease;
}

.qris-box img {
    width: 100%;
    max-width: 250px;
    border-radius: 14px;
    box-shadow: 0 0 20px rgba(255,255,255,.2);
}

.qris-buttons {
    margin-top: 12px;
}

.qris-download-btn {
    padding: 10px 18px;
    background: var(--accent1);
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
}

.qris-download-btn:hover {
    opacity: .8;
}

/* Copy Button Style */
.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: #ffffff15;
    border: 1px solid #ffffff30;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
}

.copy-btn svg {
    width: 16px;
    height: 16px;
}

/* MOBILE */
@media(max-width: 480px){
    .qris-box img {
        max-width: 280px;
    }
}

select {
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(6px);
    color: #fff;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ffffff2a;
}

select option {
    background: #1a1a1a;
    color: #fff;
    padding: 8px;
}

/* Search Bar */
    .search-container {
        width: 100%;
        display: flex;
        justify-content: center;
        margin: 10px 0;
    }

    .search-box {
        width: 85%;
        max-width: 300px;
        padding: 7px 14px;
        border-radius: 30px;
        border: 1.8px solid #00eaff;
        background: rgba(0, 0, 0, 0.25);
        color: #fff;
        font-size: 14px;
        outline: none;
        transition: .25s ease;
    }

    .search-box:focus {
        box-shadow: 0 0 10px #00eaff;
        border-color: #00eaff;
    }

    /* Grid Project */
    .works-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
        gap: 18px;
        margin-top: 10px;
    }

    .work-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 0 10px #00d5ff;
    }
    
/* === TITLE ROW (Project + Button) add project === */
.title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

/* Mobile responsif */
@media(max-width: 600px){
    .title-row {
        flex-direction: column;
        gap: 10px;
    }
}

/* === NEON BUTTON === */
.neon-btn {
    padding: 10px 20px;
    background: transparent;
    border: 2px solid #0ff;
    color: #0ff;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.25s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
}

/* Glow effect */
.neon-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(0,255,255,0.5), transparent);
    transition: 0.4s;
}

.neon-btn:hover::before {
    left: 100%;
}

/* Hover glow */
.neon-btn:hover {
    color: #000;
    background: #0ff;
    box-shadow: 0 0 15px #0ff, 0 0 35px #0ff;
}

/* Press animation */
.neon-btn:active {
    transform: scale(0.95);
}
/* ====== WRAPPER JUDUL + BUTTON ====== */
.project-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

/* Mobile: button turun ke bawah */
@media (max-width: 600px) {
    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* ====== BUTTON NEON KECIL ====== */
.neon-btn-small {
    padding: 6px 14px;
    font-size: 12px;
    background: transparent;
    border: 2px solid #00eaff;
    color: #00eaff;
    border-radius: 6px;
    cursor: pointer;
    letter-spacing: 0.5px;

    position: relative;
    overflow: hidden;

    transition: 0.25s ease;
}

/* Light sweep */
.neon-btn-small::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(0, 255, 255, 0.4),
        transparent
    );
    transition: 0.4s ease;
}

.neon-btn-small:hover::before {
    left: 120%;
}

/* Hover glow */
.neon-btn-small:hover {
    background: #00eaff;
    color: #000;
    box-shadow: 0 0 10px #00eaff, 0 0 25px #00eaff;
}

/* Click shrink */
.neon-btn-small:active {
    transform: scale(0.92);
}

.project-form {
    padding: 20px;
    background: rgba(255,255,255,0.04);
    border-radius: 10px;
    backdrop-filter: blur(6px);
    margin-top: 20px;
}

.project-form h3 {
    color: var(--accent1);
    margin-bottom: 15px;
    text-shadow: 0 0 10px var(--accent2);
}

.project-form input,
.project-form textarea,
.project-form select {
    width: 100%;
    padding: 10px;
    margin: 8px 0 15px;
    border-radius: 6px;
    border: 1px solid var(--accent1);
    background: rgba(0,0,0,0.4);
    color: #fff;
}

.project-form textarea {
    height: 110px;
    resize: none;
}
