/* ============================================
   VARIABEL WARNA (REDUP & MODERN)
   ============================================ */
:root {
    --blue-glow-soft: rgba(255, 255, 255, 0.08);
    --blue-glow-mid:  rgba(255, 255, 255, 0.16);
    --blue-glow-strong: rgba(255, 255, 255, 0.35);
    --blue-line: rgba(220, 220, 220, 0.2);
    --blue-accent: #d9d9d9;
    --blue-deep: #666666;
    --text-clean: #f2f2f2;
}

/* ============================================
   RESET & DASAR
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-y: auto;
}

body {
    background-color: #000000;
    color: #e5e5e5;
    min-height: 100vh;
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
    background-image: radial-gradient(circle at 65% 30%, #303030 0%, #151515 45%, #000000 80%);
    background-attachment: fixed;
    line-height: 1.6;
}

body.home-page {
    position: relative;
    isolation: isolate;
}

body.home-page::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    z-index: -1;
    height: 55vh;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.48) 72%, transparent),
        url("image/Helmeted-Varsity-Jacket-Sketch (1).png") center top / cover no-repeat;
    mask-image: linear-gradient(to bottom, #000 68%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, #000 68%, transparent 100%);
    pointer-events: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 6%;
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(14px);
    z-index: 100;
    border-bottom: 1px solid var(--blue-line);
}

.site-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-clean);
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--blue-glow-mid);
}

.site-brand span {
    color: var(--blue-accent);
    text-shadow: 0 0 10px var(--blue-glow-strong);
}

.site-nav {
    display: flex;
    gap: 2rem;
}

.site-nav a {
    color: #8c8c8c;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: 0.3s;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--blue-accent);
    border-bottom: 2px solid var(--blue-accent);
    text-shadow: none; 
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    padding: 5rem 8%;
    min-height: 70vh;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
    max-width: 550px;
}

.greeting {
    font-size: 1.1rem;
    color: #b3b3b3;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--text-clean);
    text-shadow: 0 0 20px var(--blue-glow-soft);
}

.highlight {
    color: var(--blue-accent);
    text-shadow: 0 0 12px var(--blue-glow-mid);
}

.description {
    color: #8c8c8c;
    margin-bottom: 30px;
    font-size: 1rem;
}

/* ============================================
   TOMBOL
   ============================================ */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid var(--blue-accent);
    color: var(--blue-accent);
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 1.5px;
    transition: 0.35s ease;
    background: transparent;
    cursor: pointer;
    font-size: 0.85rem;
    text-transform: uppercase;
    position: relative;
    text-shadow: none; 
}

.btn:hover {
    background: var(--blue-accent);
    color: #111111;
    box-shadow:
        0 0 15px var(--blue-glow-mid),
        0 0 30px var(--blue-glow-soft);
    transform: translateY(-2px);
}

/* ============================================
   HERO VISUAL — FOTO PROFIL
   ============================================ */
.hero-visual {
    position: relative;
    width: 460px;
    height: 460px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    animation: fadeUp 1s ease 0.3s both;
}

.hero-photo-wrap {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    flex: 0 1 320px;
    width: 320px;
    max-width: 100%;
    aspect-ratio: 1;
    height: auto;
}

.hero-photo {
    position: relative;
    z-index: 1;
    width: min(220px, 100%);
    aspect-ratio: 1;
    overflow: hidden;
    border: 3px solid var(--blue-accent);
    border-radius: 50%;
    background: #171717;
    box-shadow:
        0 0 25px var(--blue-glow-mid),
        0 0 60px var(--blue-glow-soft),
        0 12px 30px rgba(0, 0, 0, 0.65);
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.tech-orbit {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    animation: techOrbitSpin 18s linear infinite;
}

.tech-orbit-item {
    position: absolute;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    animation: techOrbitCounterSpin 18s linear infinite;
}

.tech-orbit-item:nth-child(1) {
    top: 2%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.tech-orbit-item:nth-child(2) {
    top: 35%;
    left: 96%;
    transform: translate(-50%, -50%);
}

.tech-orbit-item:nth-child(3) {
    top: 94%;
    left: 78%;
    transform: translate(-50%, -50%);
}

.tech-orbit-item:nth-child(4) {
    top: 94%;
    left: 22%;
    transform: translate(-50%, -50%);
}

.tech-orbit-item:nth-child(5) {
    top: 35%;
    left: 4%;
    transform: translate(-50%, -50%);
}

.tech-orbit-icon {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border: 1px solid var(--blue-line);
    border-radius: 16px;
    background: rgba(18, 18, 18, 0.94);
    color: var(--blue-accent);
    box-shadow:
        0 6px 24px rgba(0, 0, 0, 0.55),
        inset 0 0 12px rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
    font-weight: 700;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.profile-glow {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 30% 30%, #444444, #1b1b1b 60%, #080808);
    border: 1px solid var(--blue-line);
    box-shadow:
        0 0 20px var(--blue-glow-mid),
        0 0 50px var(--blue-glow-soft),
        0 0 100px rgba(255, 255, 255, 0.1);
    animation: float 5s ease-in-out infinite;
    position: relative;
    transform: translate3d(var(--mx, 0), var(--my, 0), 0);
    transition: transform 0.2s ease-out;
}

.profile-glow:hover {
    animation-play-state: paused;
    box-shadow:
        0 0 40px var(--blue-glow-strong),
        0 0 90px var(--blue-glow-mid),
        0 0 150px var(--blue-glow-soft);
}

.profile-frame {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--blue-accent);
    box-shadow:
        0 0 20px var(--blue-glow-strong),
        0 10px 30px rgba(0, 0, 0, 0.7);
    position: relative;
    transition: all 0.4s ease;
}

.profile-frame:hover {
    box-shadow:
        0 0 25px rgba(255, 255, 255, 0.65),
        0 0 50px rgba(220, 220, 220, 0.25),
        0 10px 30px rgba(0, 0, 0, 0.8);
}

.profile-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    filter: grayscale(0%) contrast(115%) brightness(1.15) saturate(1.4);
    transition: transform 0.5s ease, filter 0.4s ease;
}

.profile-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.28), transparent 55%),
        radial-gradient(circle at 75% 80%, rgba(180, 180, 180, 0.18), transparent 60%);
    mix-blend-mode: screen;
    pointer-events: none;
    opacity: 0.7; 
    transition: opacity 0.4s ease;
}

.profile-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.3);
    pointer-events: none;
    z-index: 2;
}

.profile-frame:hover img {
    transform: none;
    filter: grayscale(0%) contrast(120%) brightness(1.2) saturate(1.5);
}

.profile-frame:hover::after {
    opacity: 1;
}

/* ============================================
   PROJECT SECTION — FOTO SEKOLAH
   ============================================ */
.project-section {
    margin: 4rem 8%;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--blue-line);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: 0.4s ease;
}

.project-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue-accent), transparent);
    opacity: 0.6;
}

.project-section:hover {
    border-color: var(--blue-accent);
    box-shadow:
        0 0 30px var(--blue-glow-soft),
        0 0 60px rgba(255, 255, 255, 0.06);
}

.project-header {
    text-align: center;
    margin-bottom: 2rem;
}

.project-badge {
    display: inline-block;
    background: rgba(220, 220, 220, 0.1);
    color: var(--blue-accent);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 999px;
    border: 1px solid var(--blue-line);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--blue-glow-mid);
}

.project-header h2 {
    font-size: 1.8rem;
    color: var(--text-clean);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px var(--blue-glow-soft);
}

.project-header p {
    color: #8c8c8c;
    font-size: 0.95rem;
}

.project-showcase {
    position: relative;
    max-width: 450px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--blue-line);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.7),
        0 0 40px var(--blue-glow-soft);
    transition: 0.4s ease;
}

.project-showcase:hover {
    border-color: var(--blue-accent);
    box-shadow:
        0 0 35px var(--blue-glow-strong),
        0 0 80px var(--blue-glow-mid),
        0 20px 60px rgba(0, 0, 0, 0.8);
    transform: translateY(-4px);
}

.project-showcase img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    filter: grayscale(0%) contrast(115%) brightness(1.1) saturate(1.2);
    transition: transform 0.5s ease, filter 0.4s ease;
}

.project-showcase:hover img {
    transform: scale(1.03);
    filter: grayscale(0%) contrast(120%) brightness(1.15) saturate(1.3);
}

/* ============================================
   IKON TEKNOLOGI
   ============================================ */
.tech-icon {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #e5e5e5;
    background: rgba(18, 18, 18, 0.9);
    border: 1px solid var(--blue-line);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow:
        0 6px 24px rgba(0, 0, 0, 0.6),
        inset 0 0 12px rgba(255, 255, 255, 0.08);
    animation: float 3.5s ease-in-out infinite;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 3;
    cursor: pointer;
    opacity: 0.85;
}

.tech-icon:hover {
    background: var(--blue-accent);
    color: #111111;
    border-color: var(--blue-accent);
    transform: translateY(-6px) scale(1.2) !important;
    opacity: 1;
    box-shadow:
        0 0 30px var(--blue-glow-strong),
        0 0 70px var(--blue-glow-mid);
    animation-play-state: paused;
}

.tech-icon.touch-active {
    background: var(--blue-accent) !important;
    color: #111111 !important;
    transform: scale(1.2) !important;
    box-shadow:
        0 0 30px var(--blue-glow-strong),
        0 0 70px var(--blue-glow-mid) !important;
    opacity: 1;
}

.tech-icon span {
    position: relative;
    z-index: 1;
}

.tech-icon.html  { top: 5%;    left: 8%;   animation-delay: 0.2s; }
.tech-icon.js    { top: 2%;    right: 10%; animation-delay: 0s; }
.tech-icon.css   { top: 46%;   left: -2%;  animation-delay: 1.4s; }
.tech-icon.react { top: 42%;   right: -2%; animation-delay: 0.8s; }
.tech-icon.node  { bottom: 8%; left: 10%;  animation-delay: 1.8s; }
.tech-icon.figma { bottom: 4%; right: 14%; animation-delay: 1s; }

/* ============================================
   CARD / KONTEN
   ============================================ */
.card {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--blue-line);
    border-radius: 16px;
    padding: 2.5rem;
    margin: 2rem 8%;
    backdrop-filter: blur(10px);
    transition: 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue-accent), transparent);
    opacity: 0.6;
}

.card:hover {
    border-color: var(--blue-accent);
    box-shadow:
        0 0 30px var(--blue-glow-soft),
        0 0 60px rgba(255, 255, 255, 0.06);
    transform: translateY(-3px);
}

.card h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-clean);
    letter-spacing: 0.5px;
    text-shadow: 0 0 15px var(--blue-glow-soft);
}

.card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #e0e0e0;
    letter-spacing: 0.3px;
    text-shadow: none;
}

.card p {
    color: #a6a6a6;
    margin-bottom: 1rem;
}

.card strong { color: var(--text-clean); }
.card em { color: #d9d9d9; font-style: italic; }

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.data-diri {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.data-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.045);
    border-left: 3px solid var(--blue-accent);
    border-radius: 8px;
    flex-wrap: wrap;
    gap: 0.5rem;
    transition: 0.3s;
}

.data-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-left-color: var(--blue-accent);
    box-shadow: 0 0 20px var(--blue-glow-soft);
}

.data-item .label {
    color: #8c8c8c;
    font-size: 0.9rem;
}

.data-item .value {
    color: var(--text-clean);
    font-weight: 600;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.gallery img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    padding: 6px;
    border: 2px solid transparent;
    border-radius: 50%;
    background:
        linear-gradient(#151515, #151515) padding-box,
        linear-gradient(135deg, #ffffff, #777777 45%, #c7c7c7 75%, #555555) border-box;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35), 0 0 20px rgba(220, 220, 220, 0.16);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    filter: contrast(1.06) saturate(1.08);
}

.gallery img:hover {
    transform: translateY(-7px) scale(1.02);
    box-shadow:
        0 20px 38px rgba(0, 0, 0, 0.45),
        0 0 30px rgba(230, 230, 230, 0.24);
}

/* ============================================
   SOSMED GRID
   ============================================ */
.sosmed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.sosmed-card {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--blue-line);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: 0.4s ease;
}

.sosmed-card:hover {
    transform: translateY(-6px);
    border-color: var(--blue-accent);
    background: rgba(255, 255, 255, 0.08);
    box-shadow:
        0 10px 40px var(--blue-glow-soft),
        0 0 80px rgba(255, 255, 255, 0.08);
}

.sosmed-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--blue-accent);
    filter: none;
    text-shadow: 0 0 20px var(--blue-glow-mid);
}

.sosmed-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-clean);
    text-shadow: none;
}

.sosmed-card p {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 1.5rem;
}

/* ============================================
   ROUTINE (Kegiatan)
   ============================================ */
.routine-item {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--blue-line);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: 0.4s ease;
}

.routine-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--blue-accent);
    transform: translateY(-4px);
    box-shadow: 0 0 30px var(--blue-glow-soft);
}

.routine-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.8rem;
    color: var(--blue-accent);
    filter: none;
    text-shadow: 0 0 20px var(--blue-glow-mid);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    text-align: center;
    padding: 4rem 2rem;
    margin: 2rem 8%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(90, 90, 90, 0.06));
    border-radius: 20px;
    border: 1px solid var(--blue-line);
    position: relative;
    overflow: hidden;
    transition: 0.4s;
}

.cta:hover {
    border-color: var(--blue-accent);
    box-shadow:
        0 0 40px var(--blue-glow-soft),
        0 0 100px rgba(255, 255, 255, 0.06);
}

.cta h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-clean);
    text-shadow: 0 0 20px var(--blue-glow-soft);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid var(--blue-line);
    margin-top: 3rem;
    letter-spacing: 0.5px;
}

/* ============================================
   CHART (Grafik Minat & Aktivitas)
   ============================================ */
.chart {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.chart-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chart-label {
    width: 120px;
    font-weight: 600;
    font-size: 14px;
    color: #d9d9d9;
}

.chart-bar {
    flex: 1;
    background: rgba(210, 210, 210, 0.08);
    border-radius: 20px;
    overflow: hidden;
    height: 26px;
    border: 1px solid var(--blue-line);
}

.chart-bar .fill {
    height: 100%;
    background: linear-gradient(90deg, var(--blue-deep), var(--blue-accent));
    color: #111111;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 8px;
    border-radius: 20px;
    transition: width 1s ease;
}

.skills {
    margin-top: 24px;
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-clean);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin: 4px 4px 0 0;
    border: 1px solid var(--blue-line);
    transition: 0.3s;
}

.badge:hover {
    background: var(--blue-accent);
    color: #111111;
    box-shadow: 0 0 20px var(--blue-glow-mid);
}

/* ============================================
   ANIMASI
   ============================================ */
@keyframes float {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes techOrbitSpin {
    to { transform: rotate(360deg); }
}

@keyframes techOrbitCounterSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes pulseGlowSoft {
    0%, 100% {
        box-shadow:
            0 0 20px var(--blue-glow-soft),
            0 0 45px rgba(255, 255, 255, 0.16),
            0 0 90px rgba(255, 255, 255, 0.08);
    }
    50% {
        box-shadow:
            0 0 40px var(--blue-glow-mid),
            0 0 80px var(--blue-glow-soft),
            0 0 140px rgba(255, 255, 255, 0.16);
    }
}

/* ============================================
   RESPONSIVE (GABUNGAN & FIX)
   ============================================ */
@media (max-width: 900px) {
    .site-header {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .site-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding: 3rem 5%;
    }

    .hero-text h1 {
        font-size: 2.3rem;
    }

    .hero-visual {
        width: 380px;
        height: 380px;
        transform: scale(0.9);
        margin-bottom: 2rem;
    }

    .hero-photo-wrap {
        flex-basis: 300px;
    }

    .profile-glow {
        width: 260px;
        height: 260px;
    }

    .profile-frame {
        width: 220px;
        height: 220px;
    }

    .project-section {
        margin: 2.5rem 5%;
        padding: 1.8rem;
    }

    .project-showcase img {
        max-height: 280px;
    }

    .project-header h2 {
        font-size: 1.5rem;
    }

    .card {
        margin: 1.5rem 5%;
        padding: 1.8rem;
    }

    .data-item {
        flex-direction: column;
        gap: 0.3rem;
    }

    .tech-icon {
        width: 48px;
        height: 48px;
        font-size: 0.78rem;
        border-radius: 14px;
    }
    .tech-icon.html  { top: 4%;    left: 4%; }
    .tech-icon.js    { top: 0%;    right: 6%; }
    .tech-icon.css   { top: 46%;   left: -4%; }
    .tech-icon.react { top: 42%;   right: -4%; }
    .tech-icon.node  { bottom: 6%; left: 6%; }
    .tech-icon.figma { bottom: 2%; right: 10%; }
}

@media (max-width: 500px) {
    .hero-visual {
        width: 320px;
        height: 320px;
    }

    .hero-photo-wrap {
        flex-basis: 260px;
    }

    .hero-photo {
        width: min(190px, 100%);
    }

    .tech-orbit-item {
        width: 46px;
        height: 46px;
    }

    .tech-orbit-icon {
        border-radius: 13px;
        font-size: 0.78rem;
    }

    .tech-icon {
        width: 42px;
        height: 42px;
        font-size: 0.7rem;
        border-radius: 12px;
    }
    .tech-icon.html  { top: 2%;    left: 2%; }
    .tech-icon.js    { top: -2%;   right: 4%; }
    .tech-icon.css   { top: 46%;   left: -6%; }
    .tech-icon.react { top: 42%;   right: -6%; }
    .tech-icon.node  { bottom: 4%; left: 4%; }
    .tech-icon.figma { bottom: 0%; right: 8%; }
}

@media (max-width: 480px) {
    .profile-glow { width: 200px; height: 200px; }
    .profile-frame { width: 170px; height: 170px; }
    .project-section { padding: 1.5rem; }
    .project-frame { width: 240px; }
    .project-frame img { height: 150px; }
    .chart-label { width: 90px; font-size: 12px; }
    .chart-bar { height: 22px; }
}

@media (prefers-reduced-motion: reduce) {
    .tech-orbit,
    .tech-orbit-item {
        animation: none;
    }
}

/* ============================================================
   ==== TAMBAHAN ANIMASI BARU ====
   (blok baru — tidak mengubah apapun di atas)
   ============================================================ */

/* ------------------------------------------------------------
   A. MARQUEE — TEKS BERJALAN
   ------------------------------------------------------------ */
.marquee {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    padding: 14px 0;
    margin: 0;
    border-top: 1px solid var(--blue-line);
    border-bottom: 1px solid var(--blue-line);
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.07),
        rgba(90, 90, 90, 0.03),
        rgba(255, 255, 255, 0.07)
    );
    position: relative;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 24s linear infinite;
}

.marquee-track span {
    flex-shrink: 0;
    padding-right: 1.5rem;
    color: var(--text-clean);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.marquee.reverse .marquee-track {
    animation-direction: reverse;
}

@keyframes marqueeScroll {
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none;
    }
}
/* ============================================================
   FOTO SEPERTI LANYARD (TALI GANTUNGAN ID CARD)
   Tambahan baru — tidak mengubah kode lama.
   ============================================================ */

/* ------------------------------------------------------------
   A. WRAPPER — posisi untuk tali lanyard
   ------------------------------------------------------------ */
.hero-photo-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 90px; /* ruang untuk tali melengkung */
    animation: lanyardSwing 7s ease-in-out infinite;
    transform-origin: top center;
    isolation: isolate;
}

/* ------------------------------------------------------------
   B. TALI LANYARD — melengkung dari atas (pakai SVG)
   ------------------------------------------------------------ */
.hero-photo-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 90px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 90' fill='none'%3E%3Cpath d='M 20 0 Q 20 60 120 75 Q 220 60 220 0' stroke='%23888' stroke-width='4' stroke-linecap='round' fill='none'/%3E%3Cpath d='M 22 0 Q 22 58 120 73 Q 218 58 218 0' stroke='%23ddd' stroke-width='2' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center top;
    z-index: 5;
    pointer-events: none;
}

/* ------------------------------------------------------------
   C. KLIP PENJEPIT — di ujung tali (atas foto)
   ------------------------------------------------------------ */
.hero-photo-wrap::after {
    content: "";
    position: absolute;
    top: 72px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 18px;
    border-radius: 3px;
    background: linear-gradient(180deg, #d0d0d0 0%, #888 50%, #555 100%);
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.6),
        inset 0 1px 2px rgba(255, 255, 255, 0.4);
    z-index: 6;
}

/* Bagian atas klip (penghubung ke tali) */
.hero-photo-wrap::after {
    content: "";
    position: absolute;
    top: 68px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 22px;
    border-radius: 3px 3px 4px 4px;
    background: linear-gradient(180deg, #e8e8e8 0%, #b0b0b0 40%, #777 100%);
    border: 1px solid rgba(0, 0, 0, 0.3);
    box-shadow:
        0 3px 6px rgba(0, 0, 0, 0.5),
        inset 0 1px 2px rgba(255, 255, 255, 0.5);
    z-index: 6;
}

/* ------------------------------------------------------------
   D. GOYANGAN LANYARD — seperti ID card tergantung
   ------------------------------------------------------------ */
@keyframes lanyardSwing {
    0%   { transform: rotate(-3deg); }
    50%  { transform: rotate(3deg); }
    100% { transform: rotate(-3deg); }
}

/* Hentikan goyangan saat hover */
.hero-photo-wrap:hover {
    animation-play-state: paused;
}

/* ------------------------------------------------------------
   E. FOTO — kartu ID card dengan border tebal seperti lanyard
   ------------------------------------------------------------ */
.hero-photo {
    position: relative;
    z-index: 2;
    width: 220px;
    height: 280px;
    padding: 6px;
    border-radius: 16px;
    overflow: hidden;
    border: 3px solid #d0d0d0;
    background: #1a1a1a;
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 0 20px rgba(255, 255, 255, 0.03);
    margin-top: 18px;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

/* Lubang klip di atas kartu (opsional — dekorasi) */
.hero-photo::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 4px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.7);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.9);
    z-index: 3;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 12px;
    filter: contrast(1.05) saturate(1.1);
    transition: transform 0.5s ease, filter 0.4s ease;
}

.hero-photo:hover {
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.15),
        0 0 30px rgba(255, 255, 255, 0.08);
}

.hero-photo:hover img {
    transform: scale(1.03);
    filter: contrast(1.1) saturate(1.2);
}

/* ------------------------------------------------------------
   F. IKON BAHASA DI DALAM FOTO
   ------------------------------------------------------------ */
.tech-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;
    border-radius: 16px;
}

.tech-orbit-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
}

.tech-orbit-icon {
    position: absolute;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(10, 20, 35, 0.9);
    border: 1px solid rgba(88, 166, 255, 0.5);
    color: #e2e8f0;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    backdrop-filter: blur(8px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
    transform: translate(-50%, -50%);
    animation: iconFloat 3s ease-in-out infinite;
}

/* Posisi ikon di sekitar dalam kartu */
.tech-orbit-item:nth-child(1) .tech-orbit-icon {
    left: calc(50% + 0px);
    top: calc(50% - 90px);
    animation-delay: 0s;
}
.tech-orbit-item:nth-child(2) .tech-orbit-icon {
    left: calc(50% + 70px);
    top: calc(50% - 40px);
    animation-delay: 0.4s;
}
.tech-orbit-item:nth-child(3) .tech-orbit-icon {
    left: calc(50% + 50px);
    top: calc(50% + 70px);
    animation-delay: 0.8s;
}
.tech-orbit-item:nth-child(4) .tech-orbit-icon {
    left: calc(50% - 50px);
    top: calc(50% + 70px);
    animation-delay: 1.2s;
}
.tech-orbit-item:nth-child(5) .tech-orbit-icon {
    left: calc(50% - 70px);
    top: calc(50% - 40px);
    animation-delay: 1.6s;
}

@keyframes iconFloat {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50%      { transform: translate(-50%, -50%) translateY(-5px); }
}

/* Warna khusus tiap ikon */
.tech-orbit-icon.html-icon   { color: #e34f26; border-color: rgba(227, 79, 38, 0.6); }
.tech-orbit-icon.css-icon    { color: #2965f1; border-color: rgba(41, 101, 241, 0.6); }
.tech-orbit-icon.js-icon     { color: #f7df1e; border-color: rgba(247, 223, 30, 0.6); }
.tech-orbit-icon.python-icon { color: #3776ab; border-color: rgba(55, 118, 171, 0.6); }
.tech-orbit-icon.php-icon    { color: #777bb4; border-color: rgba(119, 123, 180, 0.6); }

/* ------------------------------------------------------------
   G. RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 900px) {
    .hero-photo-wrap {
        padding-top: 80px;
        animation-duration: 6s;
    }

    .hero-photo-wrap::before {
        width: 200px;
        height: 80px;
    }

    .hero-photo-wrap::after {
        top: 60px;
    }

    .hero-photo {
        width: 190px;
        height: 240px;
        margin-top: 16px;
    }

    .tech-orbit-icon {
        width: 28px;
        height: 28px;
        font-size: 0.65rem;
    }

    .tech-orbit-item:nth-child(1) .tech-orbit-icon { top: calc(50% - 78px); }
    .tech-orbit-item:nth-child(2) .tech-orbit-icon { left: calc(50% + 60px); top: calc(50% - 34px); }
    .tech-orbit-item:nth-child(3) .tech-orbit-icon { left: calc(50% + 44px); top: calc(50% + 60px); }
    .tech-orbit-item:nth-child(4) .tech-orbit-icon { left: calc(50% - 44px); top: calc(50% + 60px); }
    .tech-orbit-item:nth-child(5) .tech-orbit-icon { left: calc(50% - 60px); top: calc(50% - 34px); }
}

@media (max-width: 600px) {
    .hero-photo-wrap {
        padding-top: 70px;
    }

    .hero-photo-wrap::before {
        width: 170px;
        height: 70px;
    }

    .hero-photo-wrap::after {
        top: 52px;
        width: 26px;
        height: 18px;
    }

    .hero-photo {
        width: 160px;
        height: 210px;
    }

    .tech-orbit-icon {
        width: 24px;
        height: 24px;
        font-size: 0.6rem;
        border-radius: 6px;
    }

    .tech-orbit-item:nth-child(1) .tech-orbit-icon { top: calc(50% - 68px); }
    .tech-orbit-item:nth-child(2) .tech-orbit-icon { left: calc(50% + 50px); top: calc(50% - 30px); }
    .tech-orbit-item:nth-child(3) .tech-orbit-icon { left: calc(50% + 36px); top: calc(50% + 52px); }
    .tech-orbit-item:nth-child(4) .tech-orbit-icon { left: calc(50% - 36px); top: calc(50% + 52px); }
    .tech-orbit-item:nth-child(5) .tech-orbit-icon { left: calc(50% - 50px); top: calc(50% - 30px); }
}

/* ------------------------------------------------------------
   H. HORMATI PREFERENSI REDUCED MOTION
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
    .hero-photo-wrap,
    .tech-orbit-icon {
        animation: none;
    }
}
/* ============================================================
   EFEK LANYARD REALISTIS — TALI MELENGKUNG + KLIP + KARTU ID
   Tambahan baru — tidak mengubah kode lama.
   ============================================================ */

/* ------------------------------------------------------------
   A. WRAPPER — posisi & animasi goyangan
   ------------------------------------------------------------ */
.hero-photo-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 100px;
    margin: 0 auto;
    width: fit-content;
    animation: lanyardSwing 7s ease-in-out infinite;
    transform-origin: top center;
    isolation: isolate;
    perspective: 1200px;
}

/* ------------------------------------------------------------
   B. TALI LANYARD — SVG melengkung realistis
   ------------------------------------------------------------ */
.hero-photo-wrap::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 120px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 280 120' fill='none'%3E%3Cdefs%3E%3ClinearGradient id='tali' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%23e8e8e8'/%3E%3Cstop offset='50%25' stop-color='%23a0a0a0'/%3E%3Cstop offset='100%25' stop-color='%23777'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M 30 0 Q 30 80 140 100 Q 250 80 250 0' stroke='url(%23tali)' stroke-width='6' stroke-linecap='round' fill='none'/%3E%3Cpath d='M 30 0 Q 30 80 140 100 Q 250 80 250 0' stroke='%23ffffff' stroke-opacity='0.3' stroke-width='2' stroke-linecap='round' fill='none' transform='translate(0 -1)'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center top;
    z-index: 5;
    pointer-events: none;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

/* ------------------------------------------------------------
   C. KLIP PENJEPIT — realistis seperti ID card asli
   ------------------------------------------------------------ */
.hero-photo-wrap::after {
    content: "";
    position: absolute;
    top: 82px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 26px;
    border-radius: 4px;
    background: linear-gradient(
        180deg,
        #e8e8e8 0%,
        #c0c0c0 25%,
        #909090 50%,
        #606060 75%,
        #404040 100%
    );
    border: 1px solid rgba(0, 0, 0, 0.4);
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.5),
        inset 0 1px 2px rgba(255, 255, 255, 0.6),
        inset 0 -1px 2px rgba(0, 0, 0, 0.3);
    z-index: 6;
}

/* Lubang klip (detail kecil di atas) */
.hero-photo-wrap::after {
    background-image:
        linear-gradient(180deg, #e8e8e8 0%, #c0c0c0 25%, #909090 50%, #606060 75%, #404040 100%),
        radial-gradient(circle at 50% 30%, rgba(0, 0, 0, 0.5) 2px, transparent 3px);
}

/* ------------------------------------------------------------
   D. ANIMASI GOYANGAN — seperti ID card tergantung
   ------------------------------------------------------------ */
@keyframes lanyardSwing {
    0%   { transform: rotate(-3deg); }
    50%  { transform: rotate(3deg); }
    100% { transform: rotate(-3deg); }
}

/* Goyangan sedikit lebih halus saat hover (bukan berhenti total) */
.hero-photo-wrap:hover {
    animation-duration: 3s;
}

/* ------------------------------------------------------------
   E. KARTU ID — bentuk persegi panjang seperti ID card
   ------------------------------------------------------------ */
.hero-photo {
    position: relative;
    z-index: 2;
    width: 220px;
    height: 290px;
    padding: 8px;
    border-radius: 18px;
    overflow: hidden;
    border: 3px solid #d0d0d0;
    background: linear-gradient(160deg, #1a1a1a 0%, #0f0f0f 100%);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.6),
        0 8px 16px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 2px rgba(255, 255, 255, 0.1);
    margin-top: 22px;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
    transform-style: preserve-3d;
}

/* Lubang klip di atas kartu */
.hero-photo::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(180deg, #000 0%, #222 100%);
    box-shadow:
        inset 0 1px 2px rgba(0, 0, 0, 0.9),
        0 1px 1px rgba(255, 255, 255, 0.1);
    z-index: 3;
}

/* Efek gradient tipis di tepi kartu (kilau) */
.hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 15px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.12) 0%,
        transparent 30%,
        transparent 70%,
        rgba(255, 255, 255, 0.06) 100%
    );
    pointer-events: none;
    z-index: 2;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 12px;
    filter: contrast(1.06) saturate(1.12);
    transition: transform 0.5s ease, filter 0.4s ease;
    display: block;
}

.hero-photo:hover {
    box-shadow:
        0 24px 50px rgba(0, 0, 0, 0.75),
        0 10px 20px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        0 0 40px rgba(255, 255, 255, 0.1);
}

.hero-photo:hover img {
    transform: scale(1.04);
    filter: contrast(1.1) saturate(1.2);
}

/* ------------------------------------------------------------
   F. IKON BAHASA DI DALAM KARTU
   ------------------------------------------------------------ */
.tech-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;
    border-radius: 18px;
    overflow: hidden;
}

.tech-orbit-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
}

.tech-orbit-icon {
    position: absolute;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(10, 20, 35, 0.92);
    border: 1px solid rgba(88, 166, 255, 0.5);
    color: #e2e8f0;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.7),
        inset 0 1px 2px rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    animation: iconFloat 3s ease-in-out infinite;
}

/* Posisi ikon di dalam kartu ID */
.tech-orbit-item:nth-child(1) .tech-orbit-icon {
    left: calc(50% + 0px);
    top: calc(50% - 95px);
    animation-delay: 0s;
}
.tech-orbit-item:nth-child(2) .tech-orbit-icon {
    left: calc(50% + 72px);
    top: calc(50% - 42px);
    animation-delay: 0.4s;
}
.tech-orbit-item:nth-child(3) .tech-orbit-icon {
    left: calc(50% + 50px);
    top: calc(50% + 72px);
    animation-delay: 0.8s;
}
.tech-orbit-item:nth-child(4) .tech-orbit-icon {
    left: calc(50% - 50px);
    top: calc(50% + 72px);
    animation-delay: 1.2s;
}
.tech-orbit-item:nth-child(5) .tech-orbit-icon {
    left: calc(50% - 72px);
    top: calc(50% - 42px);
    animation-delay: 1.6s;
}

@keyframes iconFloat {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50%      { transform: translate(-50%, -50%) translateY(-5px); }
}

/* Warna khusus tiap ikon */
.tech-orbit-icon.html-icon   { color: #e34f26; border-color: rgba(227, 79, 38, 0.6); }
.tech-orbit-icon.css-icon    { color: #2965f1; border-color: rgba(41, 101, 241, 0.6); }
.tech-orbit-icon.js-icon     { color: #f7df1e; border-color: rgba(247, 223, 30, 0.6); }
.tech-orbit-icon.python-icon { color: #3776ab; border-color: rgba(55, 118, 171, 0.6); }
.tech-orbit-icon.php-icon    { color: #777bb4; border-color: rgba(119, 123, 180, 0.6); }

/* ------------------------------------------------------------
   G. EFEK 3D — kartu sedikit miring saat hover (opsional)
   ------------------------------------------------------------ */
.hero-photo-wrap:hover .hero-photo {
    transform: rotateX(2deg) rotateY(-2deg);
}

/* ------------------------------------------------------------
   H. RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 900px) {
    .hero-photo-wrap {
        padding-top: 90px;
        animation-duration: 6s;
    }

    .hero-photo-wrap::before {
        width: 240px;
        height: 110px;
    }

    .hero-photo-wrap::after {
        top: 74px;
        width: 32px;
        height: 24px;
    }

    .hero-photo {
        width: 190px;
        height: 250px;
        margin-top: 20px;
    }

    .tech-orbit-icon {
        width: 30px;
        height: 30px;
        font-size: 0.68rem;
    }

    .tech-orbit-item:nth-child(1) .tech-orbit-icon { top: calc(50% - 80px); }
    .tech-orbit-item:nth-child(2) .tech-orbit-icon { left: calc(50% + 62px); top: calc(50% - 36px); }
    .tech-orbit-item:nth-child(3) .tech-orbit-icon { left: calc(50% + 44px); top: calc(50% + 60px); }
    .tech-orbit-item:nth-child(4) .tech-orbit-icon { left: calc(50% - 44px); top: calc(50% + 60px); }
    .tech-orbit-item:nth-child(5) .tech-orbit-icon { left: calc(50% - 62px); top: calc(50% - 36px); }
}

@media (max-width: 600px) {
    .hero-photo-wrap {
        padding-top: 80px;
    }

    .hero-photo-wrap::before {
        width: 200px;
        height: 90px;
    }

    .hero-photo-wrap::after {
        top: 66px;
        width: 28px;
        height: 20px;
    }

    .hero-photo {
        width: 160px;
        height: 210px;
        padding: 6px;
    }

    .hero-photo::before {
        width: 18px;
        height: 5px;
    }

    .tech-orbit-icon {
        width: 26px;
        height: 26px;
        font-size: 0.62rem;
        border-radius: 6px;
    }

    .tech-orbit-item:nth-child(1) .tech-orbit-icon { top: calc(50% - 68px); }
    .tech-orbit-item:nth-child(2) .tech-orbit-icon { left: calc(50% + 52px); top: calc(50% - 32px); }
    .tech-orbit-item:nth-child(3) .tech-orbit-icon { left: calc(50% + 36px); top: calc(50% + 52px); }
    .tech-orbit-item:nth-child(4) .tech-orbit-icon { left: calc(50% - 36px); top: calc(50% + 52px); }
    .tech-orbit-item:nth-child(5) .tech-orbit-icon { left: calc(50% - 52px); top: calc(50% - 32px); }
}

/* ------------------------------------------------------------
   I. HORMATI PREFERENSI REDUCED MOTION
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
    .hero-photo-wrap,
    .tech-orbit-icon {
        animation: none;
    }
}
/* ============================================================
   EFEK LANYARD REALISTIS (SEPERTI GAMBAR)
   Tali lebar, tekstur kain, kait logam, dan pola teks.
   ============================================================ */

/* ------------------------------------------------------------
   A. WRAPPER & ANIMASI GOYANGAN
   ------------------------------------------------------------ */
.hero-photo-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 140px;
    margin: 0 auto;
    width: fit-content;
    animation: lanyardSwing 6s ease-in-out infinite;
    transform-origin: top center;
    isolation: isolate;
}

@keyframes lanyardSwing {
    0%   { transform: rotate(-4deg); }
    50%  { transform: rotate(4deg); }
    100% { transform: rotate(-4deg); }
}

.hero-photo-wrap:hover {
    animation-play-state: paused;
}

/* ============================================================
   EFEK LANYARD REALISTIS (SATU TALI, SATU FOTO)
   ============================================================ */

/* ------------------------------------------------------------
   A. WRAPPER & ANIMASI GOYANGAN
   ------------------------------------------------------------ */
.hero-photo-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 140px;
    margin: 0 auto;
    width: fit-content;
    animation: lanyardSwing 6s ease-in-out infinite;
    transform-origin: top center;
    isolation: isolate;
}

@keyframes lanyardSwing {
    0%   { transform: rotate(-4deg); }
    50%  { transform: rotate(4deg); }
    100% { transform: rotate(-4deg); }
}

.hero-photo-wrap:hover {
    animation-play-state: paused;
}

/* ------------------------------------------------------------
   B. TALI LANYARD (HANYA SATU TALI DI TENGAH)
   ------------------------------------------------------------ */
.hero-photo-wrap::before {
    content: "ZHENTAR • PORTFOLIO • ZHENTAR • PORTFOLIO • ";
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 150px;
    
    /* Pola teks vertikal */
    color: #ffffff;
    font-size: 6px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    
    /* Warna dasar hitam dan tekstur kain */
    background-color: #111;
    background-image: 
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.03) 0px,
            rgba(255, 255, 255, 0.03) 1px,
            transparent 1px,
            transparent 3px
        );
    
    /* Bayangan agar terlihat 3D */
    box-shadow: 
        0 2px 5px rgba(0,0,0,0.5),
        inset 1px 0 2px rgba(255,255,255,0.1),
        inset -1px 0 2px rgba(0,0,0,0.8);
    z-index: 5;
    pointer-events: none;
    border-radius: 4px;
}

/* ------------------------------------------------------------
   C. KAIT LOGAM (CARABINER) & KLIP HITAM
   ------------------------------------------------------------ */
/* Kait Logam */
.hero-photo::before {
    content: "";
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 60px;
    border: 4px solid #b0b0b0;
    border-radius: 12px 12px 20px 20px;
    background: transparent;
    box-shadow: 
        0 4px 8px rgba(0,0,0,0.4),
        inset 0 0 5px rgba(0,0,0,0.5);
    z-index: 6;
}

/* Klip Hitam (menyambung tali ke kait) */
.hero-photo::after {
    content: "";
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 46px;
    height: 24px;
    border-radius: 4px;
    background: linear-gradient(180deg, #333 0%, #111 100%);
    border: 1px solid #000;
    box-shadow: 
        0 4px 8px rgba(0,0,0,0.6),
        inset 0 1px 1px rgba(255,255,255,0.2);
    z-index: 7;
}

/* ------------------------------------------------------------
   D. KARTU ID (FOTO)
   ------------------------------------------------------------ */
.hero-photo {
    position: relative;
    z-index: 2;
    width: 200px;
    height: 280px;
    padding: 6px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e0e0e0;
    background: #1a1a1a;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(0, 0, 0, 0.8),
        inset 0 1px 3px rgba(255, 255, 255, 0.1);
    margin-top: 35px;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
    
    /* Lubang kecil di tengah atas */
    background-image: radial-gradient(circle at 50% 10px, #000 3px, transparent 4px);
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 8px;
    filter: contrast(1.05) saturate(1.1);
    transition: transform 0.5s ease;
}

.hero-photo:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(255, 255, 255, 0.1);
}

/* ------------------------------------------------------------
   E. IKON BAHASA DI DALAM KARTU
   ------------------------------------------------------------ */
.tech-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    pointer-events: none;
    z-index: 4;
    animation: none !important;
}

.tech-orbit-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
}

.tech-orbit-icon {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
    transform: translate(-50%, -50%);
    transition: opacity 0.1s linear;
    animation: none !important;
}

/* Posisi awal ikon pada lingkaran; JavaScript dapat mengubah left/top. */
.tech-orbit-item:nth-child(1) .tech-orbit-icon { left: 0; top: -85px; }
.tech-orbit-item:nth-child(2) .tech-orbit-icon { left: 65px; top: -35px; }
.tech-orbit-item:nth-child(3) .tech-orbit-icon { left: 45px; top: 65px; }
.tech-orbit-item:nth-child(4) .tech-orbit-icon { left: -45px; top: 65px; }
.tech-orbit-item:nth-child(5) .tech-orbit-icon { left: -65px; top: -35px; }

/* Warna khusus tiap ikon */
.tech-orbit-icon.html-icon   { color: #e34f26; border-color: rgba(227, 79, 38, 0.6); }
.tech-orbit-icon.css-icon    { color: #2965f1; border-color: rgba(41, 101, 241, 0.6); }
.tech-orbit-icon.js-icon     { color: #f7df1e; border-color: rgba(247, 223, 30, 0.6); }
.tech-orbit-icon.python-icon { color: #3776ab; border-color: rgba(55, 118, 171, 0.6); }
.tech-orbit-icon.php-icon    { color: #777bb4; border-color: rgba(119, 123, 180, 0.6); }

/* ------------------------------------------------------------
   F. RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 600px) {
    .hero-photo-wrap {
        padding-top: 120px;
    }

    .hero-photo-wrap::before {
        height: 130px;
        width: 20px;
        font-size: 5px;
    }

    .hero-photo {
        width: 170px;
        height: 230px;
        margin-top: 30px;
    }

    .hero-photo::before {
        width: 26px;
        height: 50px;
        top: -38px;
    }

    .hero-photo::after {
        width: 40px;
        height: 20px;
        top: -18px;
    }

    .tech-orbit-icon {
        width: 28px;
        height: 28px;
        font-size: 0.6rem;
    }

    .tech-orbit-item:nth-child(1) .tech-orbit-icon { left: 0; top: -70px; }
    .tech-orbit-item:nth-child(2) .tech-orbit-icon { left: 55px; top: -30px; }
    .tech-orbit-item:nth-child(3) .tech-orbit-icon { left: 38px; top: 55px; }
    .tech-orbit-item:nth-child(4) .tech-orbit-icon { left: -38px; top: 55px; }
    .tech-orbit-item:nth-child(5) .tech-orbit-icon { left: -55px; top: -30px; }
} 

/* ------------------------------------------------------------
   C. KAIT LOGAM (CARABINER) & KLIP
   Menggunakan elemen .hero-photo::before
   ------------------------------------------------------------ */
.hero-photo::before {
    content: "";
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 60px;
    /* Membuat bentuk kait logam menggunakan border */
    border: 4px solid #b0b0b0;
    border-radius: 12px 12px 20px 20px;
    background: transparent;
    box-shadow: 
        0 4px 8px rgba(0,0,0,0.4),
        inset 0 0 5px rgba(0,0,0,0.5);
    z-index: 6;
}

/* Klip Hitam (tempat tali menyatu dengan kait) */
.hero-photo::after {
    content: "";
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 46px;
    height: 24px;
    border-radius: 4px;
    background: linear-gradient(180deg, #333 0%, #111 100%);
    border: 1px solid #000;
    box-shadow: 
        0 4px 8px rgba(0,0,0,0.6),
        inset 0 1px 1px rgba(255,255,255,0.2);
    z-index: 7;
}

/* ------------------------------------------------------------
   D. KARTU ID (FOTO)
   ------------------------------------------------------------ */
.hero-photo {
    position: relative;
    z-index: 2;
    width: 200px;
    height: 280px;
    padding: 6px;
    border-radius: 12px;
    overflow: hidden;
    /* Frame putih seperti ID card asli */
    border: 2px solid #e0e0e0;
    background: #1a1a1a;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(0, 0, 0, 0.8),
        inset 0 1px 3px rgba(255, 255, 255, 0.1);
    margin-top: 35px;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

/* Lubang kecil di atas kartu (opsional, tertutup klip) */
.hero-photo {
    background-image: radial-gradient(circle at 50% 10px, #000 3px, transparent 4px);
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 8px;
    filter: contrast(1.05) saturate(1.1);
    transition: transform 0.5s ease;
}

.hero-photo:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(255, 255, 255, 0.1);
}

/* ------------------------------------------------------------
   E. IKON BAHASA DI DALAM KARTU
   ------------------------------------------------------------ */
.tech-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    pointer-events: none;
    z-index: 4;
    animation: none !important;
}

.tech-orbit-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
}

.tech-orbit-icon {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
    transform: translate(-50%, -50%);
    transition: opacity 0.1s linear;
    animation: none !important;
}

/* Posisi awal ikon pada lingkaran; JavaScript dapat mengubah left/top. */
.tech-orbit-item:nth-child(1) .tech-orbit-icon { left: 0; top: -85px; }
.tech-orbit-item:nth-child(2) .tech-orbit-icon { left: 65px; top: -35px; }
.tech-orbit-item:nth-child(3) .tech-orbit-icon { left: 45px; top: 65px; }
.tech-orbit-item:nth-child(4) .tech-orbit-icon { left: -45px; top: 65px; }
.tech-orbit-item:nth-child(5) .tech-orbit-icon { left: -65px; top: -35px; }

/* Warna khusus tiap ikon */
.tech-orbit-icon.html-icon   { color: #e34f26; border-color: rgba(227, 79, 38, 0.6); }
.tech-orbit-icon.css-icon    { color: #2965f1; border-color: rgba(41, 101, 241, 0.6); }
.tech-orbit-icon.js-icon     { color: #f7df1e; border-color: rgba(247, 223, 30, 0.6); }
.tech-orbit-icon.python-icon { color: #3776ab; border-color: rgba(55, 118, 171, 0.6); }
.tech-orbit-icon.php-icon    { color: #777bb4; border-color: rgba(119, 123, 180, 0.6); }

/* ------------------------------------------------------------
   F. RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 600px) {
    .hero-photo-wrap {
        padding-top: 120px;
    }

    .hero-photo-wrap::before,
    .hero-photo-wrap::after {
        height: 130px;
        width: 20px;
        font-size: 5px;
    }

    .hero-photo-wrap::before { left: calc(50% - 55px); }
    .hero-photo-wrap::after { right: calc(50% - 55px); }

    .hero-photo {
        width: 170px;
        height: 230px;
        margin-top: 30px;
    }

    .hero-photo::before {
        width: 26px;
        height: 50px;
        top: -38px;
    }

    .hero-photo::after {
        width: 40px;
        height: 20px;
        top: -18px;
    }

    .tech-orbit-icon {
        width: 28px;
        height: 28px;
        font-size: 0.6rem;
    }

    .tech-orbit-item:nth-child(1) .tech-orbit-icon { left: 0; top: -70px; }
    .tech-orbit-item:nth-child(2) .tech-orbit-icon { left: 55px; top: -30px; }
    .tech-orbit-item:nth-child(3) .tech-orbit-icon { left: 38px; top: 55px; }
    .tech-orbit-item:nth-child(4) .tech-orbit-icon { left: -38px; top: 55px; }
    .tech-orbit-item:nth-child(5) .tech-orbit-icon { left: -55px; top: -30px; }
}