/* ============================================================
   style.css — Design System Portfolio (Part 1: Base & Navbar & Hero)
   Tema: Dark (default) + Light, glassmorphism, neon, gradient
   ============================================================ */

/* ------------------------------------------------------------
   1. VARIABLES & TEMA
   ------------------------------------------------------------ */
:root {
    --bg-primary: #05060f;
    --bg-secondary: #0a0c1c;
    --bg-elevated: #10132a;
    --surface: rgba(255, 255, 255, .045);
    --surface-strong: rgba(255, 255, 255, .08);
    --border: rgba(255, 255, 255, .1);
    --border-strong: rgba(255, 255, 255, .18);
    --text-primary: #e6e9ff;
    --text-secondary: #9aa3c7;
    --text-muted: #6b7296;
    --neon-cyan: #00e5ff;
    --neon-blue: #3b82f6;
    --neon-violet: #8b5cf6;
    --neon-pink: #ec4899;
    --neon-green: #10b981;
    --neon-yellow: #f59e0b;
    --gradient-main: linear-gradient(135deg, #00e5ff, #8b5cf6 55%, #ec4899);
    --gradient-text: linear-gradient(90deg, #00e5ff, #8b5cf6, #ec4899);
    --shadow-glow: 0 0 30px rgba(139, 92, 246, .25);
    --shadow-card: 0 12px 40px rgba(0, 0, 0, .4);
    --font-main: 'Sora', 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Consolas', monospace;
    --nav-height: 78px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --transition: .35s cubic-bezier(.25, .8, .25, 1);
}

[data-theme="light"] {
    --bg-primary: #f4f6ff;
    --bg-secondary: #eef1ff;
    --bg-elevated: #ffffff;
    --surface: rgba(10, 14, 40, .04);
    --surface-strong: rgba(10, 14, 40, .07);
    --border: rgba(10, 14, 40, .1);
    --border-strong: rgba(10, 14, 40, .18);
    --text-primary: #0b0f24;
    --text-secondary: #4a5178;
    --text-muted: #8b91b3;
    --shadow-card: 0 12px 40px rgba(30, 40, 100, .12);
}

/* ------------------------------------------------------------
   2. BASE
   ------------------------------------------------------------ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) + 12px);
}

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background-color .4s, color .4s;
    min-height: 100vh;
}

/* Background gradient global */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(ellipse 60% 50% at 15% 10%, rgba(139, 92, 246, .14), transparent 60%),
        radial-gradient(ellipse 50% 40% at 85% 25%, rgba(0, 229, 255, .1), transparent 60%),
        radial-gradient(ellipse 55% 45% at 70% 85%, rgba(236, 72, 153, .08), transparent 60%),
        var(--bg-primary);
}

::selection { background: var(--neon-violet); color: #fff; }

/* Scrollbar kustom */
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--neon-cyan), var(--neon-violet));
    border-radius: 10px;
}

img { max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ------------------------------------------------------------
   3. UTILITIES
   ------------------------------------------------------------ */
.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradientShift 6s ease infinite;
}

.glass-card {
    background: var(--surface);
    border: 1px solid var(--border);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

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

.section-header { margin-bottom: 3.5rem; position: relative; z-index: 2; }
.section-eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: .82rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--neon-cyan);
    background: rgba(0, 229, 255, .08);
    border: 1px solid rgba(0, 229, 255, .25);
    padding: .35rem 1.1rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    margin-bottom: 1.2rem;
    color: var(--neon-violet);
}
.divider-line {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-violet));
    border-radius: 2px;
}
.divider-line:last-child { background: linear-gradient(90deg, var(--neon-violet), transparent); }
.section-subtitle { max-width: 620px; color: var(--text-secondary); font-size: 1.02rem; }

/* Tombol */
.btn-neon {
    position: relative;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-violet), var(--neon-pink));
    background-size: 220% 220%;
    color: #fff !important;
    border: none;
    font-weight: 600;
    padding: .8rem 1.7rem;
    border-radius: 999px;
    overflow: hidden;
    transition: all var(--transition);
    animation: gradientShift 5s ease infinite;
    box-shadow: 0 8px 28px rgba(139, 92, 246, .35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-neon:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 40px rgba(139, 92, 246, .5);
    color: #fff;
}
.btn-neon::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent);
    transform: skewX(-25deg);
    transition: left .6s;
}
.btn-neon:hover::after { left: 130%; }

.btn-outline-neon {
    background: transparent;
    color: var(--neon-cyan) !important;
    border: 1.5px solid var(--neon-cyan);
    font-weight: 600;
    padding: .8rem 1.7rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.btn-outline-neon:hover {
    background: rgba(0, 229, 255, .12);
    box-shadow: 0 0 25px rgba(0, 229, 255, .35);
    transform: translateY(-3px);
    color: var(--neon-cyan);
}

.btn-ghost {
    background: var(--surface-strong);
    color: var(--text-primary) !important;
    border: 1px solid var(--border-strong);
    font-weight: 600;
    padding: .8rem 1.7rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.btn-ghost:hover {
    background: var(--surface);
    border-color: var(--neon-violet);
    transform: translateY(-3px);
    color: var(--text-primary);
}

.btn-wa {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff !important;
    border: none;
    font-weight: 600;
    padding: .8rem 1.7rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    box-shadow: 0 8px 28px rgba(37, 211, 102, .3);
}
.btn-wa:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(37, 211, 102, .45); color: #fff; }

/* ------------------------------------------------------------
   4. PRELOADER
   ------------------------------------------------------------ */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .6s, visibility .6s;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-content { text-align: center; }
.preloader-logo {
    width: 74px; height: 74px;
    margin: 0 auto 1.2rem;
    border-radius: 22px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: #fff;
    background: var(--gradient-main);
    box-shadow: 0 0 45px rgba(139, 92, 246, .55);
    animation: logoSpin 2.4s ease-in-out infinite;
}
@keyframes logoSpin {
    0%, 100% { transform: rotateY(0) scale(1); }
    50% { transform: rotateY(180deg) scale(1.08); }
}
.preloader-text { display: flex; flex-direction: column; gap: .3rem; margin-bottom: 1.2rem; }
.preloader-name { font-weight: 700; font-size: 1.2rem; letter-spacing: 2px; }
.preloader-loading { font-family: var(--font-mono); color: var(--neon-cyan); font-size: .85rem; }
.preloader-loading .dots i { animation: blink 1.4s infinite; font-style: normal; }
.preloader-loading .dots i:nth-child(2) { animation-delay: .2s; }
.preloader-loading .dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
.preloader-bar {
    width: 220px; height: 4px;
    margin: 0 auto;
    background: var(--surface-strong);
    border-radius: 4px;
    overflow: hidden;
}
.preloader-bar-fill {
    width: 0; height: 100%;
    background: var(--gradient-main);
    border-radius: 4px;
    transition: width .3s ease;
}

/* ------------------------------------------------------------
   5. CUSTOM CURSOR
   ------------------------------------------------------------ */
.cursor-dot, .cursor-ring {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 99998;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.cursor-dot {
    width: 8px; height: 8px;
    background: var(--neon-cyan);
    box-shadow: 0 0 12px var(--neon-cyan);
}
.cursor-ring {
    width: 38px; height: 38px;
    border: 1.5px solid var(--neon-violet);
    transition: width .25s, height .25s, border-color .25s, background .25s;
}
.cursor-ring.hover {
    width: 60px; height: 60px;
    border-color: var(--neon-cyan);
    background: rgba(0, 229, 255, .08);
}
@media (hover: none), (pointer: coarse) {
    .cursor-dot, .cursor-ring { display: none; }
}

/* ------------------------------------------------------------
   6. SCROLL PROGRESS & PAGE TRANSITION
   ------------------------------------------------------------ */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3.5px;
    z-index: 9999;
    background: var(--gradient-main);
    width: 0;
    box-shadow: 0 0 12px rgba(0, 229, 255, .6);
}
.page-transition {
    position: fixed;
    inset: 0;
    z-index: 99997;
    background: var(--bg-primary);
    transform: scaleY(0);
    transform-origin: bottom;
    visibility: hidden;
}
.page-transition.active { visibility: visible; animation: pageSweep .55s ease forwards; }
@keyframes pageSweep {
    0% { transform: scaleY(0); transform-origin: bottom; }
    50% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(1); transform-origin: top; }
}

/* ------------------------------------------------------------
   7. NAVBAR
   ------------------------------------------------------------ */
.navbar-area {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9990;
    transition: all .4s;
}
.navbar-area.scrolled {
    background: rgba(5, 6, 15, .82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
}
[data-theme="light"] .navbar-area.scrolled { background: rgba(255, 255, 255, .85); }

.nav-container { display: flex; align-items: center; justify-content: space-between; min-height: var(--nav-height); }

.navbar-brand { display: flex; align-items: center; gap: .7rem; }
.brand-logo {
    width: 42px; height: 42px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: var(--gradient-main);
    color: #fff;
    font-size: 1.15rem;
    box-shadow: 0 0 20px rgba(139, 92, 246, .45);
}
.brand-text {
    display: flex; flex-direction: column;
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.05rem;
}
.brand-text small {
    font-size: .68rem;
    font-weight: 400;
    color: var(--text-muted);
    font-family: var(--font-mono);
    letter-spacing: 1px;
}

.nav-menu { display: flex; align-items: center; gap: .3rem; margin: 0; padding: 0; }
.nav-item { list-style: none; }
.nav-link {
    position: relative;
    display: block;
    padding: .55rem .9rem;
    font-size: .92rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color .3s;
}
.nav-link::before {
    content: '';
    position: absolute;
    left: .9rem; right: .9rem; bottom: .15rem;
    height: 2px;
    background: var(--gradient-main);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s;
}
.nav-link:hover, .nav-link.active { color: var(--text-primary); }
.nav-link:hover::before, .nav-link.active::before { transform: scaleX(1); }
.nav-link.active { text-shadow: 0 0 18px rgba(0, 229, 255, .5); }

.nav-actions { display: flex; align-items: center; gap: .55rem; }

.theme-toggle, .lang-toggle {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    background: var(--surface);
    color: var(--text-primary);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: .95rem;
    transition: all .3s;
}
.theme-toggle:hover, .lang-toggle:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 18px rgba(0, 229, 255, .3);
    transform: rotate(12deg);
}
.lang-toggle { border-radius: 999px; width: auto; gap: .4rem; padding: 0 .8rem; font-size: .8rem; font-weight: 600; }
.lang-toggle span { font-family: var(--font-mono); }

[data-theme="dark"] .theme-icon-light { display: none; }
[data-theme="light"] .theme-icon-dark { display: none; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 9996;
}
.hamburger span {
    width: 26px; height: 2.5px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all .35s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 9994;
    background: rgba(5, 6, 15, .96);
    backdrop-filter: blur(25px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all .45s;
}
[data-theme="light"] .mobile-menu { background: rgba(244, 246, 255, .97); }
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu-list { text-align: center; padding: 0; }
.mobile-menu-list li { margin: .4rem 0; opacity: 0; transform: translateY(25px); transition: all .45s; }
.mobile-menu.open .mobile-menu-list li { opacity: 1; transform: none; }
.mobile-menu.open .mobile-menu-list li:nth-child(1) { transition-delay: .08s; }
.mobile-menu.open .mobile-menu-list li:nth-child(2) { transition-delay: .14s; }
.mobile-menu.open .mobile-menu-list li:nth-child(3) { transition-delay: .2s; }
.mobile-menu.open .mobile-menu-list li:nth-child(4) { transition-delay: .26s; }
.mobile-menu.open .mobile-menu-list li:nth-child(5) { transition-delay: .32s; }
.mobile-menu.open .mobile-menu-list li:nth-child(6) { transition-delay: .38s; }
.mobile-menu.open .mobile-menu-list li:nth-child(7) { transition-delay: .44s; }
.mobile-menu.open .mobile-menu-list li:nth-child(8) { transition-delay: .5s; }
.mobile-link {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: color .3s;
}
.mobile-link:hover, .mobile-link.active { color: var(--neon-cyan); }

/* ------------------------------------------------------------
   8. HERO
   ------------------------------------------------------------ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-height) + 40px) 0 60px;
    overflow: hidden;
}
.hero-particles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-grid-overlay {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(139, 92, 246, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, .06) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(circle at 50% 40%, black, transparent 78%);
}
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    opacity: .32;
    z-index: 0;
    animation: blobFloat 12s ease-in-out infinite;
}
.hero-blob-1 { width: 430px; height: 430px; background: var(--neon-violet); top: 5%; left: -120px; }
.hero-blob-2 { width: 380px; height: 380px; background: var(--neon-cyan); bottom: 5%; right: -100px; animation-delay: -4s; }
.hero-blob-3 { width: 260px; height: 260px; background: var(--neon-pink); top: 45%; left: 45%; animation-delay: -8s; opacity: .2; }
@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(45px, -45px) scale(1.12); }
}

.hero-container { position: relative; z-index: 3; }

.hero-content { max-width: 640px; }
.hero-greeting {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-family: var(--font-mono);
    font-size: .88rem;
    color: var(--neon-cyan);
    border: 1px solid rgba(0, 229, 255, .3);
    background: rgba(0, 229, 255, .07);
    padding: .45rem 1.1rem;
    border-radius: 999px;
    margin-bottom: 1.4rem;
}
.greeting-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--neon-green);
    box-shadow: 0 0 10px var(--neon-green);
    animation: pulseDot 1.8s infinite;
}
@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.hero-title {
    font-size: clamp(2rem, 5.2vw, 3.3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: .8rem;
}
.hero-typed-wrap {
    font-family: var(--font-mono);
    font-size: clamp(1.1rem, 2.6vw, 1.5rem);
    color: var(--text-primary);
    min-height: 2.2em;
    margin-bottom: 1.2rem;
}
.typed-prefix { color: var(--neon-green); }
.typed-cursor { color: var(--neon-cyan); animation: blink 1s infinite; }
.typed-text::after { content: ''; }

.hero-desc { color: var(--text-secondary); font-size: 1.02rem; margin-bottom: 1.3rem; max-width: 520px; }

.hero-roles { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.role-chip {
    font-family: var(--font-mono);
    font-size: .74rem;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    background: var(--surface);
    padding: .3rem .8rem;
    border-radius: 999px;
    transition: all .3s;
}
.role-chip i { font-size: .45rem; color: var(--neon-cyan); margin-right: .3rem; }
.role-chip:hover { border-color: var(--neon-violet); color: var(--text-primary); transform: translateY(-2px); }

.hero-buttons { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.8rem; }

.hero-social { display: flex; gap: .6rem; }
.social-btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border-strong);
    background: var(--surface);
    color: var(--text-secondary);
    font-size: 1.05rem;
    transition: all var(--transition);
}
.social-btn:hover {
    color: #fff;
    border-color: transparent;
    background: var(--gradient-main);
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 24px rgba(139, 92, 246, .45);
}

/* Visual Hero */
.hero-visual { position: relative; display: flex; justify-content: center; }
.profile-frame {
    position: relative;
    width: min(360px, 85vw);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.profile-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1.5px dashed rgba(139, 92, 246, .5);
    animation: orbitSpin 24s linear infinite;
}
.orbit-1 { inset: 0; }
.orbit-2 { inset: 22px; border-color: rgba(0, 229, 255, .45); animation-direction: reverse; animation-duration: 18s; }
@keyframes orbitSpin { to { transform: rotate(360deg); } }

.profile-photo-wrap {
    position: relative;
    width: 74%;
    height: 74%;
    border-radius: 50%;
    padding: 6px;
    background: var(--gradient-main);
    box-shadow: 0 0 60px rgba(139, 92, 246, .5);
    animation: profileGlow 4s ease-in-out infinite;
}
@keyframes profileGlow {
    0%, 100% { box-shadow: 0 0 45px rgba(139, 92, 246, .45); }
    50% { box-shadow: 0 0 80px rgba(0, 229, 255, .5); }
}
.profile-photo {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--bg-primary);
}
.profile-status {
    position: absolute;
    bottom: 12px; right: 12px;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--bg-primary);
    display: flex; align-items: center; justify-content: center;
    border: 3px solid var(--neon-green);
}
.status-pulse {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--neon-green);
    animation: pulseDot 1.6s infinite;
}

.profile-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: .6rem;
    background: var(--surface-strong);
    border: 1px solid var(--border-strong);
    backdrop-filter: blur(14px);
    border-radius: 14px;
    padding: .65rem .95rem;
    box-shadow: var(--shadow-card);
    animation: badgeFloat 5s ease-in-out infinite;
}
.profile-badge i { font-size: 1.3rem; color: var(--neon-cyan); }
.profile-badge strong { display: block; font-size: .85rem; line-height: 1.2; }
.profile-badge small { font-size: .68rem; color: var(--text-muted); }
.badge-code { top: 6%; left: -4%; animation-delay: -1s; }
.badge-project { bottom: 10%; right: -2%; animation-delay: -2.5s; }
.badge-project i { color: var(--neon-pink); }
@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Code window */
.code-window {
    position: absolute;
    bottom: -30px;
    left: -8%;
    width: min(300px, 62vw);
    border-radius: 14px;
    overflow: hidden;
    background: rgba(8, 10, 25, .92);
    border: 1px solid var(--border-strong);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
    font-family: var(--font-mono);
    z-index: 5;
}
[data-theme="light"] .code-window { background: rgba(240, 243, 255, .95); }
.code-window-bar {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .55rem .8rem;
    background: rgba(255, 255, 255, .05);
    border-bottom: 1px solid var(--border);
}
.code-window-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f57; } .dot.yellow { background: #febc2e; } .dot.green { background: #28c840; }
.code-file { margin-left: auto; font-size: .68rem; color: var(--text-muted); }
.code-body {
    padding: .9rem 1rem;
    font-size: .7rem;
    line-height: 1.75;
    color: var(--text-primary);
    overflow: hidden;
    white-space: pre-wrap;
    word-break: break-word;
}
.c-purple { color: #c792ea; } .c-blue { color: #82aaff; } .c-green { color: #c3e88d; }
.c-yellow { color: #ffcb6b; } .c-comment { color: #546e7a; font-style: italic; }

/* Floating icons */
.floating-icons { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.float-icon {
    position: absolute;
    font-size: clamp(1.4rem, 3vw, 2.1rem);
    color: rgba(139, 92, 246, .4);
    animation: iconFloat 8s ease-in-out infinite;
    transition: color .3s;
}
.float-icon:nth-child(odd) { color: rgba(0, 229, 255, .4); }
.float-icon-1 { top: 18%; left: 8%; animation-delay: 0s; }
.float-icon-2 { top: 30%; left: 88%; animation-delay: -1.5s; }
.float-icon-3 { top: 62%; left: 4%; animation-delay: -3s; }
.float-icon-4 { top: 70%; left: 92%; animation-delay: -4.5s; }
.float-icon-5 { top: 12%; left: 55%; animation-delay: -6s; }
.float-icon-6 { top: 48%; left: 94%; animation-delay: -2s; }
.float-icon-7 { top: 84%; left: 38%; animation-delay: -5s; }
.float-icon-8 { top: 38%; left: 2%; animation-delay: -7s; }
@keyframes iconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: .6; }
    50% { transform: translateY(-22px) rotate(12deg); opacity: 1; }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    text-align: center;
}
.mouse {
    width: 26px; height: 44px;
    border: 2px solid var(--text-muted);
    border-radius: 14px;
    display: block;
    margin: 0 auto .5rem;
}
.wheel {
    display: block;
    width: 4px; height: 8px;
    background: var(--neon-cyan);
    border-radius: 3px;
    margin: 7px auto 0;
    animation: wheelScroll 1.6s infinite;
}
@keyframes wheelScroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(14px); opacity: 0; }
}
.scroll-text { font-family: var(--font-mono); font-size: .7rem; letter-spacing: 3px; color: var(--text-muted); text-transform: uppercase; }

/* ------------------------------------------------------------
   9. ANIMASI GRADIENT & TILT
   ------------------------------------------------------------ */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.tilt-element { transform-style: preserve-3d; will-change: transform; }

/* ------------------------------------------------------------
   10. ABOUT SECTION
   ------------------------------------------------------------ */
.about-section { background: var(--bg-secondary); position: relative; overflow: hidden; }
.about-section::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, .12), transparent 70%);
    top: -150px; right: -150px;
}

.about-photo-wrap {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
}
.about-photo-border {
    position: absolute;
    inset: -14px;
    border-radius: 28px;
    border: 2px solid transparent;
    background: var(--gradient-main) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderRotate 8s linear infinite;
}
@keyframes borderRotate { to { transform: rotate(360deg); } }
.about-photo {
    width: 100%;
    aspect-ratio: 4/4.4;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}
.about-exp-badge {
    position: absolute;
    bottom: -20px;
    right: -14px;
    background: var(--gradient-main);
    color: #fff;
    border-radius: 16px;
    padding: 1rem 1.3rem;
    text-align: center;
    box-shadow: var(--shadow-glow);
    animation: badgeFloat 5s ease-in-out infinite;
}
.exp-number { display: block; font-size: 1.8rem; font-weight: 800; line-height: 1.1; }
.exp-label { font-size: .72rem; opacity: .9; }

.about-heading { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; margin-bottom: 1.1rem; }
.about-text { color: var(--text-secondary); margin-bottom: 1rem; }
.about-story {
    color: var(--text-secondary);
    border-left: 3px solid var(--neon-violet);
    padding-left: 1rem;
    margin-bottom: 1.5rem;
    font-size: .95rem;
}

.info-item {
    display: flex;
    gap: .8rem;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: .85rem 1rem;
    transition: all .3s;
}
.info-item:hover { border-color: var(--neon-violet); transform: translateY(-3px); }
.info-item > i { color: var(--neon-cyan); font-size: 1.1rem; margin-top: .2rem; }
.info-item small { display: block; color: var(--text-muted); font-size: .72rem; text-transform: uppercase; letter-spacing: 1px; }
.info-item span { font-size: .88rem; word-break: break-word; }
.copy-icon { cursor: pointer; font-size: .75rem; color: var(--text-muted); margin-left: .3rem; transition: color .3s; }
.copy-icon:hover { color: var(--neon-cyan); }

.about-buttons { display: flex; gap: .8rem; flex-wrap: wrap; }

/* Statistik counter */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transition: transform .45s;
}
.stat-card:hover::before { transform: scaleX(1); }
.stat-card:hover { transform: translateY(-8px); border-color: var(--neon-violet); box-shadow: var(--shadow-glow); }
.stat-icon { font-size: 2rem; margin-bottom: .6rem; background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-number { font-size: 2.4rem; font-weight: 800; font-family: var(--font-mono); }
.stat-label { color: var(--text-muted); font-size: .85rem; }

/* ------------------------------------------------------------
   11. SKILLS SECTION
   ------------------------------------------------------------ */
.skill-category-card { padding: 1.8rem; transition: all var(--transition); position: relative; overflow: hidden; }
.skill-category-card::after {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 140px; height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, .18), transparent 70%);
    transition: transform .5s;
}
.skill-category-card:hover { transform: translateY(-6px); border-color: var(--neon-violet); }
.skill-category-card:hover::after { transform: scale(1.6); }

.skill-category-head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.5rem; }
.skill-cat-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    background: var(--gradient-main);
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 6px 20px rgba(139, 92, 246, .4);
}
.skill-category-head h4 { font-size: 1.15rem; font-weight: 700; margin: 0; flex: 1; }
.skill-count { font-family: var(--font-mono); font-size: .72rem; color: var(--text-muted); }

/* Circular progress */
.circular-progress {
    --progress: 0deg;
    width: 92px; height: 92px;
    border-radius: 50%;
    background: conic-gradient(var(--progress-color, var(--neon-violet)) var(--progress), rgba(255, 255, 255, .08) 0);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: background .1s linear;
}
.circular-inner {
    width: 76px; height: 76px;
    border-radius: 50%;
    background: var(--bg-elevated);
    display: flex; align-items: center; justify-content: center;
}
.circular-value { font-family: var(--font-mono); font-weight: 700; font-size: 1rem; }

/* Progress bars */
.skill-bars { display: flex; flex-direction: column; gap: 1rem; }
.skill-bar-info { display: flex; justify-content: space-between; margin-bottom: .4rem; font-size: .86rem; }
.skill-bar-name i { color: var(--neon-cyan); margin-right: .35rem; }
.skill-bar-value { font-family: var(--font-mono); color: var(--neon-cyan); font-weight: 600; }
.skill-progress { height: 8px; background: rgba(255, 255, 255, .07); border-radius: 8px; overflow: hidden; }
[data-theme="light"] .skill-progress { background: rgba(10, 14, 40, .08); }
.skill-progress-bar {
    width: 0;
    background: linear-gradient(90deg, var(--progress-color, var(--neon-violet)), var(--neon-cyan));
    border-radius: 8px;
    position: relative;
    transition: width 1.4s cubic-bezier(.25, .8, .25, 1);
}
.skill-progress-bar::after {
    content: '';
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 20px;
    background: rgba(255, 255, 255, .35);
    filter: blur(6px);
}

/* ------------------------------------------------------------
   12. SERVICES SECTION
   ------------------------------------------------------------ */
.services-section { background: var(--bg-secondary); position: relative; overflow: hidden; }
.service-card {
    position: relative;
    padding: 2.2rem 1.8rem;
    overflow: hidden;
    transition: all var(--transition);
}
.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--glow-color, var(--neon-violet));
    box-shadow: 0 20px 50px rgba(0, 0, 0, .35), 0 0 35px color-mix(in srgb, var(--glow-color, var(--neon-violet)) 30%, transparent);
}
.service-icon-wrap {
    width: 62px; height: 62px;
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    background: color-mix(in srgb, var(--glow-color, var(--neon-violet)) 14%, transparent);
    margin-bottom: 1.2rem;
    transition: all .4s;
    position: relative;
}
.service-icon-wrap::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 22px;
    border: 1.5px dashed var(--glow-color, var(--neon-violet));
    opacity: 0;
    transform: scale(.8) rotate(20deg);
    transition: all .4s;
}
.service-card:hover .service-icon-wrap { transform: rotateY(360deg); }
.service-card:hover .service-icon-wrap::after { opacity: .6; transform: scale(1) rotate(0); }
.service-title { font-size: 1.2rem; font-weight: 700; margin-bottom: .7rem; }
.service-desc { color: var(--text-secondary); font-size: .92rem; margin-bottom: 1rem; }
.service-features { display: flex; flex-direction: column; gap: .45rem; }
.service-features li { font-size: .86rem; color: var(--text-secondary); display: flex; gap: .55rem; }
.service-features i { color: var(--neon-green); margin-top: .25rem; font-size: .8rem; }
.service-number {
    position: absolute;
    top: 1rem; right: 1.3rem;
    font-family: var(--font-mono);
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--surface-strong);
    -webkit-text-stroke: 1px var(--border-strong);
    transition: all .4s;
}
.service-card:hover .service-number { color: color-mix(in srgb, var(--glow-color, var(--neon-violet)) 30%, transparent); -webkit-text-stroke: 1px var(--glow-color); }
.service-line {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s;
}
.service-card:hover .service-line { transform: scaleX(1); }

/* ------------------------------------------------------------
   13. PORTFOLIO SECTION
   ------------------------------------------------------------ */
.portfolio-card-wrap { display: block; height: 100%; }
.portfolio-card {
    overflow: hidden;
    height: 100%;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.portfolio-card:hover {
    transform: translateY(-8px);
    border-color: var(--neon-violet);
    box-shadow: var(--shadow-glow);
}
.portfolio-thumb { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.portfolio-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.25, .8, .25, 1);
}
.portfolio-card:hover .portfolio-thumb img { transform: scale(1.12) rotate(1deg); }
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 6, 15, .85), rgba(139, 92, 246, .15) 60%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    opacity: 0;
    transition: opacity .4s;
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.overlay-icon, .overlay-btn {
    width: 46px; height: 46px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--gradient-main);
    color: #fff;
    border: none;
    font-size: 1rem;
    transform: translateY(20px);
    transition: all .4s;
    box-shadow: 0 8px 24px rgba(139, 92, 246, .5);
}
.portfolio-card:hover .overlay-icon, .portfolio-card:hover .overlay-btn { transform: translateY(0); }
.overlay-btn:hover { transform: translateY(-4px) scale(1.1) !important; }
.portfolio-cat {
    position: absolute;
    top: .9rem; left: .9rem;
    font-family: var(--font-mono);
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    background: rgba(5, 6, 15, .6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .2);
    padding: .3rem .75rem;
    border-radius: 999px;
}
.portfolio-featured {
    position: absolute;
    top: .9rem; right: .9rem;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(245, 158, 11, .9);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: .8rem;
    box-shadow: 0 4px 14px rgba(245, 158, 11, .5);
}
.portfolio-year {
    position: absolute;
    bottom: .9rem; right: .9rem;
    font-family: var(--font-mono);
    font-size: .75rem;
    color: #fff;
    background: rgba(5, 6, 15, .55);
    backdrop-filter: blur(6px);
    padding: .25rem .7rem;
    border-radius: 999px;
}
.portfolio-info { padding: 1.2rem 1.3rem 1.3rem; flex: 1; display: flex; flex-direction: column; gap: .4rem; }
.portfolio-info h5 { font-size: 1.02rem; font-weight: 700; }
.portfolio-info p { color: var(--text-secondary); font-size: .85rem; margin: 0; }
.portfolio-meta { display: flex; gap: 1rem; margin-top: auto; padding-top: .6rem; border-top: 1px dashed var(--border); }
.portfolio-meta span { font-family: var(--font-mono); font-size: .72rem; color: var(--text-muted); }
.portfolio-meta i { color: var(--neon-cyan); margin-right: .3rem; }

/* Halaman portfolio: toolbar + masonry */
.portfolio-page { background: var(--bg-secondary); }
.portfolio-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.filter-buttons { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-btn {
    font-family: var(--font-mono);
    font-size: .8rem;
    padding: .5rem 1.1rem;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: var(--surface);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all .3s;
}
.filter-btn:hover { color: var(--text-primary); border-color: var(--neon-violet); transform: translateY(-2px); }
.filter-btn.active {
    background: var(--gradient-main);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(139, 92, 246, .4);
}
.search-box {
    display: flex;
    align-items: center;
    gap: .6rem;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    padding: 0 .4rem 0 1.1rem;
    min-width: 250px;
}
.search-box i { color: var(--text-muted); }
.search-box input {
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: .55rem 0;
    flex: 1;
    outline: none;
}
.search-box input::placeholder { color: var(--text-muted); }
.search-box button { border-radius: 999px; }

.portfolio-grid-masonry {
    columns: 3;
    column-gap: 1.4rem;
}
.portfolio-grid-masonry .portfolio-item {
    break-inside: avoid;
    margin-bottom: 1.4rem;
}
.portfolio-grid-masonry .portfolio-thumb { aspect-ratio: auto; }
.portfolio-grid-masonry .portfolio-thumb img { aspect-ratio: 16/11; object-fit: cover; }

.empty-state {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-muted);
}
.empty-state i { font-size: 3rem; margin-bottom: 1rem; color: var(--border-strong); }
.empty-state h4 { color: var(--text-secondary); }

.pagination-wrap { margin-top: 2.5rem; }
.pagination .page-link {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    margin: 0 .25rem;
    border-radius: 12px !important;
    min-width: 42px;
    text-align: center;
    font-family: var(--font-mono);
    transition: all .3s;
}
.pagination .page-link:hover { color: var(--text-primary); border-color: var(--neon-violet); transform: translateY(-2px); }
.pagination .page-item.active .page-link {
    background: var(--gradient-main);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 20px rgba(139, 92, 246, .4);
}
.pagination .page-item.disabled .page-link { opacity: .4; pointer-events: none; }
.pagination-info { font-family: var(--font-mono); font-size: .78rem; color: var(--text-muted); }

/* ------------------------------------------------------------
   14. TIMELINE (Experience & Education)
   ------------------------------------------------------------ */
.experience-section { background: var(--bg-secondary); }
.timeline-wrap { position: relative; max-width: 820px; margin: 0 auto; padding: 1rem 0; }
.timeline-wrap::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    width: 2.5px;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, transparent, var(--neon-violet) 15%, var(--neon-cyan) 85%, transparent);
    border-radius: 3px;
    box-shadow: 0 0 14px rgba(139, 92, 246, .5);
}
.timeline-item { position: relative; width: 50%; padding: 0 2.5rem 2.8rem 0; }
.timeline-item.timeline-right { left: 50%; padding: 0 0 2.8rem 2.5rem; }
.timeline-dot {
    position: absolute;
    top: 4px;
    right: -17px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--gradient-main);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem;
    box-shadow: 0 0 0 5px var(--bg-secondary), 0 0 24px rgba(139, 92, 246, .6);
    z-index: 2;
}
.timeline-right .timeline-dot { right: auto; left: -19px; }
.timeline-card { padding: 1.4rem 1.5rem; transition: all var(--transition); }
.timeline-card:hover { border-color: var(--neon-violet); transform: translateY(-5px); box-shadow: var(--shadow-glow); }
.timeline-period {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: .72rem;
    color: var(--neon-cyan);
    background: rgba(0, 229, 255, .08);
    border: 1px solid rgba(0, 229, 255, .25);
    padding: .25rem .8rem;
    border-radius: 999px;
    margin-bottom: .8rem;
}
.timeline-position { font-size: 1.1rem; font-weight: 700; margin-bottom: .35rem; }
.timeline-company { font-size: .86rem; color: var(--neon-violet); margin-bottom: .7rem; display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.timeline-company span { color: var(--text-muted); }
.timeline-desc { color: var(--text-secondary); font-size: .88rem; margin: 0; }

/* Education timeline */
.edu-timeline { position: relative; padding-left: 2.2rem; }
.edu-timeline::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 13px;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--neon-violet), var(--neon-cyan), transparent);
}
.edu-item { position: relative; margin-bottom: 2rem; }
.edu-icon {
    position: absolute;
    left: -2.2rem;
    top: 4px;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--gradient-main);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: .7rem;
    box-shadow: 0 0 18px rgba(139, 92, 246, .55);
    z-index: 2;
}
.edu-content { padding: 1.3rem 1.5rem; transition: all var(--transition); }
.edu-content:hover { border-color: var(--neon-violet); transform: translateX(6px); }
.edu-years { font-family: var(--font-mono); font-size: .72rem; color: var(--neon-cyan); }
.edu-content h5 { font-size: 1.05rem; font-weight: 700; margin: .3rem 0; }
.edu-degree { font-size: .86rem; color: var(--neon-violet); margin-bottom: .5rem; }
.edu-content p { color: var(--text-secondary); font-size: .87rem; margin: 0; }

/* ------------------------------------------------------------
   15. CERTIFICATES SECTION
   ------------------------------------------------------------ */
.cert-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all var(--transition);
    cursor: pointer;
    height: 100%;
}
.cert-card:hover {
    transform: translateY(-8px);
    border-color: var(--neon-cyan);
    box-shadow: 0 16px 40px rgba(0, 229, 255, .18);
}
.cert-thumb { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.cert-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cert-card:hover .cert-thumb img { transform: scale(1.08); }
.cert-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 6, 15, .7);
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity .4s;
}
.cert-card:hover .cert-overlay { opacity: 1; }
.cert-cat {
    position: absolute;
    top: .7rem; left: .7rem;
    font-family: var(--font-mono);
    font-size: .64rem;
    color: #fff;
    background: rgba(5, 6, 15, .6);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, .2);
    padding: .25rem .7rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.cert-info { padding: 1rem 1.1rem; }
.cert-info h6 { font-size: .9rem; font-weight: 700; margin-bottom: .2rem; }
.cert-info small { color: var(--text-muted); }
.credential-link { display: inline-block; margin-top: .5rem; font-size: .78rem; color: var(--neon-green); }
.credential-link:hover { color: var(--neon-cyan); }

.image-modal-preview { max-height: 75vh; width: auto; max-width: 100%; border-radius: 10px; }

/* ------------------------------------------------------------
   16. BLOG SECTION
   ------------------------------------------------------------ */
.blog-section { background: var(--bg-secondary); }
.blog-card {
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-8px);
    border-color: var(--neon-cyan);
    box-shadow: 0 16px 40px rgba(0, 229, 255, .15);
}
.blog-thumb { position: relative; overflow: hidden; aspect-ratio: 16/9; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.blog-card:hover .blog-thumb img { transform: scale(1.1); }
.blog-cat {
    position: absolute;
    bottom: .8rem; left: .8rem;
    font-family: var(--font-mono);
    font-size: .64rem;
    color: #fff;
    background: var(--gradient-main);
    padding: .3rem .8rem;
    border-radius: 999px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.blog-body { padding: 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.blog-meta { display: flex; gap: 1rem; font-family: var(--font-mono); font-size: .7rem; color: var(--text-muted); }
.blog-title { font-size: 1rem; font-weight: 700; line-height: 1.4; transition: color .3s; }
.blog-card:hover .blog-title { color: var(--neon-cyan); }
.blog-excerpt { color: var(--text-secondary); font-size: .85rem; margin: 0; }
.blog-read-more { margin-top: auto; font-size: .82rem; font-weight: 600; color: var(--neon-cyan); }
.blog-read-more i { transition: transform .3s; }
.blog-card:hover .blog-read-more i { transform: translateX(6px); }

/* Halaman blog */
.blog-page { background: var(--bg-secondary); }
.blog-search-bar {
    display: flex;
    align-items: center;
    gap: .6rem;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    padding: .3rem .3rem .3rem 1.2rem;
}
.blog-search-bar > i { color: var(--text-muted); }
.blog-search-bar input { background: transparent; border: none; color: var(--text-primary); outline: none; flex: 1; }
.blog-search-bar input::placeholder { color: var(--text-muted); }

.blog-post-card { overflow: hidden; transition: all var(--transition); margin-bottom: 1.5rem; }
.blog-post-card:hover { border-color: var(--neon-violet); transform: translateY(-5px); }
.blog-post-thumb { position: relative; display: block; height: 100%; min-height: 180px; overflow: hidden; }
.blog-post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.blog-post-card:hover .blog-post-thumb img { transform: scale(1.08); }
.blog-featured {
    position: absolute;
    top: .8rem; left: .8rem;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(245, 158, 11, .92);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem;
}
.blog-post-body { padding: 1.4rem 1.6rem; }
.blog-post-meta { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; font-family: var(--font-mono); font-size: .72rem; color: var(--text-muted); margin-bottom: .6rem; }
.blog-cat-label {
    color: var(--neon-cyan);
    background: rgba(0, 229, 255, .08);
    border: 1px solid rgba(0, 229, 255, .25);
    padding: .15rem .7rem;
    border-radius: 999px;
    font-size: .68rem;
}
.blog-post-title { font-size: 1.25rem; font-weight: 700; margin-bottom: .5rem; }
.blog-post-title a { color: var(--text-primary); transition: color .3s; }
.blog-post-title a:hover { color: var(--neon-cyan); }
.blog-post-excerpt { color: var(--text-secondary); font-size: .9rem; margin-bottom: .8rem; }

/* Sidebar widget */
.blog-sidebar { position: sticky; top: calc(var(--nav-height) + 20px); display: flex; flex-direction: column; gap: 1.4rem; }
.sidebar-widget { padding: 1.5rem; }
.widget-title { font-size: 1rem; font-weight: 700; padding-bottom: .8rem; margin-bottom: 1rem; border-bottom: 1px dashed var(--border); }
.widget-list li { margin-bottom: .45rem; }
.widget-list a {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .55rem .9rem;
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: .88rem;
    transition: all .3s;
}
.widget-list a i { color: var(--neon-violet); font-size: .8rem; }
.widget-list a:hover, .widget-list a.active { background: var(--surface-strong); color: var(--text-primary); transform: translateX(4px); }
.count-badge { margin-left: auto; font-family: var(--font-mono); font-size: .7rem; background: var(--surface-strong); padding: .1rem .55rem; border-radius: 999px; }
.popular-item { display: flex; gap: .9rem; align-items: flex-start; padding: .6rem 0; border-bottom: 1px dashed var(--border); transition: all .3s; }
.popular-item:last-child { border-bottom: none; }
.popular-item:hover { transform: translateX(4px); }
.popular-rank { font-family: var(--font-mono); font-weight: 800; font-size: 1.2rem; color: var(--border-strong); -webkit-text-stroke: 1px var(--neon-violet); }
.popular-item h6 { font-size: .85rem; line-height: 1.4; color: var(--text-primary); }
.popular-item small { color: var(--text-muted); font-family: var(--font-mono); font-size: .7rem; }

/* Artikel single */
.blog-single { background: var(--bg-secondary); }
.blog-article { padding: 2.5rem; }
.article-title { font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-weight: 800; margin-bottom: 1rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; font-family: var(--font-mono); font-size: .76rem; color: var(--text-muted); margin-bottom: 1.6rem; }
.article-thumb { width: 100%; border-radius: var(--radius-md); margin-bottom: 1.8rem; }
.article-content { font-size: 1.02rem; line-height: 1.9; color: var(--text-primary); }
.article-content h2 { font-size: 1.4rem; font-weight: 700; margin: 1.8rem 0 .8rem; }
.article-content h3 { font-size: 1.2rem; font-weight: 700; margin: 1.5rem 0 .7rem; }
.article-content p { margin-bottom: 1rem; color: var(--text-secondary); }
.article-content ul, .article-content ol { padding-left: 1.4rem; margin-bottom: 1rem; color: var(--text-secondary); }
.article-content li { margin-bottom: .4rem; }
.article-content code {
    font-family: var(--font-mono);
    background: var(--surface-strong);
    border: 1px solid var(--border);
    padding: .15rem .5rem;
    border-radius: 6px;
    font-size: .85em;
    color: var(--neon-cyan);
}
.article-content pre {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    overflow-x: auto;
    margin-bottom: 1.2rem;
}
.article-content pre code { background: none; border: none; padding: 0; color: var(--text-primary); }
.article-content img { border-radius: var(--radius-md); }
.article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 1.8rem 0; padding-top: 1.4rem; border-top: 1px dashed var(--border); }
.tags-label { font-size: .9rem; color: var(--text-secondary); }
.tag-chip {
    font-family: var(--font-mono);
    font-size: .75rem;
    color: var(--neon-cyan);
    border: 1px solid rgba(0, 229, 255, .3);
    background: rgba(0, 229, 255, .06);
    padding: .3rem .85rem;
    border-radius: 999px;
    transition: all .3s;
}
.tag-chip:hover { background: rgba(0, 229, 255, .15); transform: translateY(-2px); }
.article-share { display: flex; align-items: center; gap: .6rem; padding-top: 1.2rem; }
.article-share > span { font-size: .9rem; color: var(--text-secondary); }
.share-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: .95rem;
    border: none;
    cursor: pointer;
    transition: all .3s;
    background: var(--surface-strong);
    border: 1px solid var(--border);
    color: var(--text-secondary);
}
.share-btn:hover { transform: translateY(-4px); }
.share-btn.fb:hover { background: #1877f2; color: #fff; }
.share-btn.tw:hover { background: #000; color: #fff; }
.share-btn.li:hover { background: #0a66c2; color: #fff; }
.share-btn.wa:hover { background: #25d366; color: #fff; }
.share-btn.cp:hover { background: var(--neon-violet); color: #fff; }
.section-sub-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 1.4rem; }

/* ------------------------------------------------------------
   17. CONTACT SECTION
   ------------------------------------------------------------ */
.contact-page { background: var(--bg-secondary); }
.contact-card {
    text-align: center;
    padding: 2rem 1.4rem;
    transition: all var(--transition);
    height: 100%;
}
.contact-card:hover { transform: translateY(-8px); border-color: var(--neon-cyan); box-shadow: 0 16px 40px rgba(0, 229, 255, .15); }
.contact-icon {
    width: 56px; height: 56px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--gradient-main);
    color: #fff;
    font-size: 1.3rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(139, 92, 246, .4);
}
.contact-card h5 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.contact-card span { font-size: .86rem; color: var(--text-secondary); word-break: break-all; }

.contact-form-wrap { padding: 2.4rem; }
.form-label { font-weight: 600; font-size: .88rem; }
.glass-input {
    background: var(--surface);
    border: 1px solid var(--border-strong);
    color: var(--text-primary);
    border-radius: 12px;
    padding: .7rem 1rem;
    transition: all .3s;
}
.glass-input:focus {
    background: var(--surface-strong);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 0 4px rgba(0, 229, 255, .12);
    color: var(--text-primary);
}
.glass-input::placeholder { color: var(--text-muted); }
.form-field-hidden { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.contact-side { padding: 2.4rem; }
.map-wrap { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); }
.map-placeholder {
    background:
        linear-gradient(rgba(139, 92, 246, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, .08) 1px, transparent 1px),
        var(--bg-elevated);
    background-size: 40px 40px;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
}
.map-pin {
    width: 54px; height: 54px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: var(--gradient-main);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.2rem;
    box-shadow: 0 8px 24px rgba(139, 92, 246, .5);
    animation: pinBounce 2s infinite;
}
.map-pin i { transform: rotate(45deg); color: #fff; font-size: 1.2rem; }
@keyframes pinBounce { 0%, 100% { transform: rotate(-45deg) translateY(0); } 50% { transform: rotate(-45deg) translateY(-10px); } }
.map-placeholder h5 { font-size: 1rem; font-weight: 700; }
.map-placeholder p { color: var(--text-secondary); font-size: .88rem; margin: .3rem 0; }
.map-placeholder small { color: var(--text-muted); font-size: .75rem; }

/* ------------------------------------------------------------
   18. CTA SECTION
   ------------------------------------------------------------ */
.cta-box {
    position: relative;
    text-align: center;
    padding: 4rem 2rem;
    overflow: hidden;
}
.cta-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .35;
    animation: blobFloat 9s ease-in-out infinite;
}
.cta-blob-1 { width: 300px; height: 300px; background: var(--neon-violet); top: -80px; left: -60px; }
.cta-blob-2 { width: 260px; height: 260px; background: var(--neon-cyan); bottom: -70px; right: -50px; animation-delay: -4s; }
.cta-title { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: .8rem; position: relative; z-index: 2; }
.cta-desc { color: var(--text-secondary); max-width: 560px; margin: 0 auto 1.8rem; position: relative; z-index: 2; }
.cta-buttons { position: relative; z-index: 2; display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

/* ------------------------------------------------------------
   19. FOOTER
   ------------------------------------------------------------ */
.footer-area { position: relative; background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 4.5rem 0 0; overflow: hidden; }
.footer-glow {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), var(--neon-violet), var(--neon-pink), transparent);
    background-size: 200% 100%;
    animation: gradientShift 6s linear infinite;
}
.footer-brand .navbar-brand { margin-bottom: 1rem; }
.footer-desc { color: var(--text-secondary); font-size: .9rem; }
.online-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-mono);
    font-size: .75rem;
    color: var(--neon-green);
    border: 1px solid rgba(16, 185, 129, .35);
    background: rgba(16, 185, 129, .08);
    padding: .4rem 1rem;
    border-radius: 999px;
}
.online-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--neon-green);
    box-shadow: 0 0 10px var(--neon-green);
    animation: pulseDot 1.6s infinite;
}
.footer-title { font-size: 1rem; font-weight: 700; margin-bottom: 1.2rem; position: relative; padding-bottom: .7rem; }
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 34px; height: 2.5px;
    background: var(--gradient-main);
    border-radius: 3px;
}
.footer-links li, .footer-contact li { margin-bottom: .55rem; }
.footer-links a, .footer-contact a {
    color: var(--text-secondary);
    font-size: .88rem;
    transition: all .3s;
}
.footer-links a i { font-size: .7rem; color: var(--neon-violet); margin-right: .4rem; transition: transform .3s; }
.footer-links a:hover { color: var(--neon-cyan); padding-left: 4px; }
.footer-links a:hover i { transform: translateX(3px); }
.footer-contact li { color: var(--text-secondary); font-size: .88rem; display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact i { color: var(--neon-cyan); margin-top: .25rem; }
.footer-social { display: flex; gap: .55rem; }
.footer-social a {
    width: 40px; height: 40px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border-strong);
    background: var(--surface);
    color: var(--text-secondary);
    transition: all .3s;
}
.footer-social a:hover {
    background: var(--gradient-main);
    color: #fff;
    transform: translateY(-4px) rotate(8deg);
    box-shadow: 0 8px 22px rgba(139, 92, 246, .4);
}
.visitor-counter { font-family: var(--font-mono); font-size: .8rem; color: var(--text-muted); }
.footer-bottom { margin-top: 3rem; border-top: 1px solid var(--border); padding: 1.3rem 0; }
.footer-bottom p { font-size: .85rem; color: var(--text-muted); }
.footer-made i { animation: heartBeat 1.4s infinite; }
@keyframes heartBeat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }

/* ------------------------------------------------------------
   20. FLOATING BUTTONS
   ------------------------------------------------------------ */
.floating-buttons { position: fixed; bottom: 24px; right: 24px; z-index: 9900; display: flex; flex-direction: column; gap: .7rem; }
.float-btn {
    width: 48px; height: 48px;
    border-radius: 50%;
    border: none;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    cursor: pointer;
    transition: all .3s;
    opacity: 0;
    transform: translateY(16px) scale(.8);
    pointer-events: none;
}
.float-btn.visible { opacity: 1; transform: none; pointer-events: auto; }
.float-wa { background: linear-gradient(135deg, #25d366, #128c7e); box-shadow: 0 8px 24px rgba(37, 211, 102, .4); }
.float-top { background: var(--gradient-main); box-shadow: 0 8px 24px rgba(139, 92, 246, .4); }
.float-btn:hover { transform: translateY(-4px) scale(1.08); }

/* ------------------------------------------------------------
   21. PAGE BANNER (halaman dalam)
   ------------------------------------------------------------ */
.page-banner {
    position: relative;
    padding: calc(var(--nav-height) + 70px) 0 60px;
    text-align: center;
    overflow: hidden;
    background: var(--bg-secondary);
}
.page-banner-small { padding: calc(var(--nav-height) + 50px) 0 30px; }
.page-title {
    font-size: clamp(1.9rem, 4.5vw, 2.8rem);
    font-weight: 800;
    position: relative;
    z-index: 2;
}
.breadcrumb-nav { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: .6rem; font-family: var(--font-mono); font-size: .82rem; color: var(--text-muted); }
.breadcrumb-nav a { color: var(--text-secondary); transition: color .3s; }
.breadcrumb-nav a:hover { color: var(--neon-cyan); }
.breadcrumb-nav i { font-size: .7rem; color: var(--neon-violet); }
.breadcrumb-nav span { color: var(--neon-cyan); }

/* ------------------------------------------------------------
   22. PROJECT DETAIL
   ------------------------------------------------------------ */
.project-hero {
    position: relative;
    padding: calc(var(--nav-height) + 60px) 0 40px;
    background: var(--bg-secondary);
    overflow: hidden;
    text-align: center;
}
.project-hero-title { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; }
.project-hero-meta { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: center; align-items: center; font-family: var(--font-mono); font-size: .8rem; color: var(--text-secondary); margin: 1rem 0; }
.project-hero-meta i { color: var(--neon-cyan); margin-right: .35rem; }
.badge-cat {
    background: var(--gradient-main);
    color: #fff;
    padding: .3rem 1rem;
    border-radius: 999px;
    font-size: .75rem;
    font-family: var(--font-mono);
}
.project-hero-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

.project-cover {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    margin-bottom: 3rem;
}
.project-cover img { width: 100%; max-height: 520px; object-fit: cover; }

.project-block { margin-bottom: 2.6rem; }
.project-block h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 1rem; }
.project-block p { color: var(--text-secondary); }
.feature-item {
    display: flex;
    gap: .6rem;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: .75rem .9rem;
    font-size: .87rem;
    transition: all .3s;
    height: 100%;
}
.feature-item:hover { border-color: var(--neon-green); transform: translateX(4px); }
.feature-item i { color: var(--neon-green); margin-top: .2rem; }

.project-gallery-swiper { padding-bottom: 3rem; }
.project-gallery-swiper .swiper-slide { position: relative; border-radius: var(--radius-md); overflow: hidden; }
.project-gallery-swiper img { width: 100%; aspect-ratio: 16/9; object-fit: cover; cursor: zoom-in; }
.gallery-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: .7rem 1rem;
    background: linear-gradient(to top, rgba(5, 6, 15, .85), transparent);
    color: #fff;
    font-size: .82rem;
}
.project-gallery-swiper .swiper-button-prev, .project-gallery-swiper .swiper-button-next { color: var(--neon-cyan); }
.project-gallery-swiper .swiper-pagination-bullet { background: var(--neon-violet); }

.project-sidebar { padding: 1.6rem; position: sticky; top: calc(var(--nav-height) + 20px); }
.project-sidebar h5 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1.2rem; }
.sidebar-item { margin-bottom: 1rem; }
.sidebar-label { display: block; font-family: var(--font-mono); font-size: .72rem; color: var(--text-muted); margin-bottom: .3rem; }
.sidebar-label i { color: var(--neon-cyan); margin-right: .3rem; }
.sidebar-value { font-size: .92rem; font-weight: 600; }
.tech-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tech-tag {
    font-family: var(--font-mono);
    font-size: .7rem;
    color: var(--neon-cyan);
    background: rgba(0, 229, 255, .07);
    border: 1px solid rgba(0, 229, 255, .25);
    padding: .25rem .7rem;
    border-radius: 999px;
}

/* ------------------------------------------------------------
   23. ERROR 404
   ------------------------------------------------------------ */
.error-page { min-height: 100vh; display: flex; align-items: center; background: var(--bg-secondary); position: relative; overflow: hidden; }
.error-page .container { position: relative; z-index: 2; }
.error-code {
    font-size: clamp(6rem, 18vw, 11rem);
    font-weight: 800;
    line-height: 1;
    font-family: var(--font-mono);
    color: var(--text-primary);
    text-shadow: 0 0 60px rgba(139, 92, 246, .5);
}
.error-title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; }
.error-desc { color: var(--text-secondary); max-width: 480px; margin: 1rem auto; }
.error-terminal { max-width: 560px; margin: 2rem auto 0; text-align: left; overflow: hidden; }

/* ------------------------------------------------------------
   24. TOAST & ALERT & MODAL
   ------------------------------------------------------------ */
.toast-item {
    background: var(--surface-strong);
    backdrop-filter: blur(18px);
    border: 1px solid var(--border-strong);
    color: var(--text-primary);
    border-radius: 14px;
    padding: .9rem 1.2rem;
    display: flex;
    align-items: center;
    gap: .7rem;
    box-shadow: var(--shadow-card);
    animation: toastIn .4s cubic-bezier(.2, .8, .2, 1);
    min-width: 260px;
    max-width: 360px;
    margin-bottom: .6rem;
}
@keyframes toastIn {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: none; }
}
.toast-item.success { border-color: rgba(16, 185, 129, .5); }
.toast-item.success i { color: var(--neon-green); }
.toast-item.error { border-color: rgba(239, 68, 68, .5); }
.toast-item.error i { color: #ef4444; }
.toast-item.info { border-color: rgba(0, 229, 255, .5); }
.toast-item.info i { color: var(--neon-cyan); }

.glass-alert {
    background: var(--surface-strong);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border-strong);
    color: var(--text-primary);
    border-radius: 14px;
}
.glass-alert.alert-success { border-color: rgba(16, 185, 129, .4); }
.glass-alert.alert-danger { border-color: rgba(239, 68, 68, .4); }
.glass-alert .btn-close { filter: invert(1); }
[data-theme="light"] .glass-alert .btn-close { filter: none; }

.glass-modal {
    background: var(--bg-elevated);
    border: 1px solid var(--border-strong);
    border-radius: 20px;
    color: var(--text-primary);
    box-shadow: 0 25px 70px rgba(0, 0, 0, .5);
}
.glass-modal .modal-header, .glass-modal .modal-footer { border-color: var(--border); }
.glass-modal .btn-close { filter: invert(1); }
[data-theme="light"] .glass-modal .btn-close { filter: none; }
.glass-modal .modal-title { font-weight: 700; }

/* Skeleton loading */
.skeleton {
    background: linear-gradient(90deg, var(--surface) 25%, var(--surface-strong) 50%, var(--surface) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.4s infinite;
    border-radius: 8px;
}
@keyframes skeletonShimmer { to { background-position: -200% 0; } }
.lazy-img { opacity: 0; transition: opacity .5s; }
.lazy-img.loaded { opacity: 1; }
