

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=JetBrains+Mono:wght@300;400;500&display=swap');

/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg:        #080808;
    --bg-2:      #0d0d0d;
    --bg-3:      #111111;
    --bg-4:      #181818;
    --border:    #1e1e1e;
    --border-2:  #2a2a2a;
    --accent:    #ff2c1d;
    --accent-2:  #bcdf0c;
    --accent-dim: rgba(243, 255, 18, 0.08);
    --accent-glow: rgba(255, 3, 3, 0.2);
    --text:      #e8e8e8;
    --text-2:    #999999;
    --text-3:    #555555;
    --white:     #ffffff;
    --yellow:    #ebf523;
    --green:     #514e18;
    --font-display: 'Syne', sans-serif;
    --font-mono:    'JetBrains Mono', monospace;
    --radius:    6px;
    --radius-lg: 12px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow:    0 0 0 1px var(--border), 0 8px 32px rgba(0,0,0,0.5);
    --glow:      0 0 20px var(--accent-glow);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-display);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

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

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

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* === HEADER === */
#header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8, 8, 8, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: border-color var(--transition);
}

#header.scrolled {
    border-bottom-color: var(--border-2);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--white);
}

.logo i {
    color: var(--accent);
    font-size: 1rem;
}

.logo-accent {
    color: var(--accent);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2px;
}

.nav-link {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-2);
    padding: 6px 14px;
    border-radius: var(--radius);
    transition: color var(--transition), background var(--transition);
    letter-spacing: 0.04em;
}

.nav-link:hover {
    color: var(--red);
    background: var(--bg-4);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius);
    transition: background var(--transition);
}

.hamburger:hover { background: var(--bg-4); }

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-2);
    border-radius: 1px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--accent); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--accent); }

/* === HERO === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 3, 3, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-2), transparent);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.typewriter {
    font-family: var(--font-mono);
    font-size: clamp(0.85rem, 1.8vw, 1rem);
    color: var(--accent);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.typewriter::before {
    content: '>';
    color: var(--text-3);
}

.typewriter-text::after {
    content: '|';
    animation: blink 1s step-end infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-text p {
    font-size: 1rem;
    color: var(--text-2);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: #af0404;
}

.btn-primary:hover {
    background: var(--accent-2);
    box-shadow: var(--glow);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-2);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}

/* Terminal */
.code-terminal {
    background: var(--bg-2);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-3);
    border-bottom: 1px solid var(--border);
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.dot.red    { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green  { background: #28c840; }

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-3);
    flex: 1;
    text-align: center;
}

.terminal-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.code-line {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 1.6;
}

.prompt { color: var(--accent); margin-right: 8px; }
.output { color: var(--text-2); padding-left: 16px; }

.cursor {
    color: var(--accent);
    animation: blink 1s step-end infinite;
}

/* === SECTIONS === */
.section {
    padding: 100px 0;
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 56px;
    display: flex;
    align-items: baseline;
    gap: 14px;
    letter-spacing: -0.02em;
}

.section-title-number {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--accent);
    letter-spacing: 0.04em;
}

/* === ABOUT === */
.about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 64px;
    align-items: start;
}

.profile-img .img-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
    border: 1px solid var(--border-2);
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease 1.5s;
}

.profile-img:hover img { transform: scale(1.03); }

.img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.6));
    transition: background 0.6s ease 1.5s, mix-blend-mode 0.6s ease 1.5s;
}

/* teks DHX transparan */
.img-overlay::after {
    content: 'DHX';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-weight: 800;
    font-size: clamp(2rem, 22%, 6rem);
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.18);
    text-shadow: 0 2px 20px rgba(255, 255, 255, 0.15);
    opacity: 0;
    transition: opacity 0.6s ease 1.5s;
    pointer-events: none;
}

.profile-img::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--accent), transparent) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    pointer-events: none;
}

/* ===== efek saat hover ===== */
.profile-img:hover img {
    filter: grayscale(1) brightness(0.85);
    transform: scale(1.05);
    transition-delay: 0s;
}

.profile-img:hover .img-overlay {
    background: radial-gradient(
        circle at 42% 30%,
        rgba(255, 255, 255, 0.6) 0%,
        transparent 22%
    ),
    radial-gradient(
        circle at 58% 30%,
        rgba(255, 0, 0, 0.6) 0%,
        transparent 22%
    ),
    linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.75) 100%);
    mix-blend-mode: screen;
    transition-delay: 0s;
}

/* teks DHX muncul saat hover */
.profile-img:hover .img-overlay::after {
    opacity: 1;
    transition-delay: 0s;
}
.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.badge {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    border: 1px solid;
}

.badge-primary  { background: var(--accent-dim); color: var(--accent); border-color: rgb(1, 255, 196); }
.badge-secondary{ background: rgba(255,77,77,0.08); color: #ff6b6b; border-color: rgba(255,77,77,0.3); }
.badge-accent   { background: rgba(245,166,35,0.08); color: var(--yellow); border-color: rgba(245,166,35,0.3); }

.about-text p {
    color: var(--text-2);
    margin-bottom: 16px;
    line-height: 1.8;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-top: 40px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.stat {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px;
    background: var(--bg-2);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: pointer;
    isolation: isolate;
}

/* Glow effect background yang muncul saat hover */
.stat::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 50% 0%,
        color-mix(in srgb, var(--accent) 25%, transparent),
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

/* Garis aksen atas yang tumbuh dari tengah */
.stat::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--accent),
        transparent
    );
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.stat:hover {
    background: var(--bg-3);
    transform: translateY(-4px);
    z-index: 2;
    box-shadow: 
        0 10px 30px -10px color-mix(in srgb, var(--accent) 40%, transparent),
        0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent);
}

.stat:hover::before {
    opacity: 1;
}

.stat:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 6px;
    font-family: var(--font-mono);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
}

.stat:hover .stat-number {
    transform: scale(1.15) translateY(-2px);
    text-shadow: 
        0 0 20px color-mix(in srgb, var(--accent) 60%, transparent),
        0 0 40px color-mix(in srgb, var(--accent) 30%, transparent);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.4s ease;
}

.stat:hover .stat-label {
    color: var(--text-1, var(--text-3));
    letter-spacing: 0.12em;
}

/* Efek kilau (shine) yang menyapu saat hover */
.stat .stat-number::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        color-mix(in srgb, var(--accent) 40%, transparent),
        transparent
    );
    transition: left 0.6s ease;
}

.stat:hover .stat-number::after {
    left: 100%;
}

/* Fallback untuk browser yang tidak support color-mix */
@supports not (background: color-mix(in srgb, red 50%, blue)) {
    .stat::before {
        background: radial-gradient(
            circle at 50% 0%,
            rgba(255, 255, 255, 0.08),
            transparent 70%
        );
    }
    .stat:hover {
        box-shadow: 
            0 10px 30px -10px rgba(0, 0, 0, 0.4),
            0 0 0 1px var(--accent);
    }
    .stat:hover .stat-number {
        text-shadow: 0 0 20px var(--accent);
    }
}


/* === SKILLS === */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.skill-category {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.skill-category:hover {
    border-color: var(--border-2);
    box-shadow: 0 0 0 1px var(--border-2);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.category-icon {
    color: var(--accent);
    font-size: 1rem;
    width: 32px;
    height: 32px;
    background: var(--accent-dim);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-header h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.01em;
}

.skill-item {
    margin-bottom: 16px;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.skill-name span {
    font-size: 0.83rem;
    color: var(--text-2);
    font-family: var(--font-mono);
}

.skill-percentage {
    font-size: 0.75rem;
    color: var(--text-3);
    font-family: var(--font-mono);
}

.skill-bar {
    height: 2px;
    background: var(--border-2);
    border-radius: 1px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-2), var(--accent));
    border-radius: 1px;
    width: 0;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === CERTIFICATES === */
.certificate-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.filter-btn {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 8px 20px;
    background: transparent;
    color: var(--text-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.04em;
}

.filter-btn:hover {
    color: var(--text);
    border-color: var(--border-2);
}

.filter-btn.active {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.certificate-item {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition), transform var(--transition);
}

.certificate-item:hover {
    border-color: var(--border-2);
    transform: translateY(-3px);
}

.certificate-image-container {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: pointer;
}

.certificate-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.certificate-item:hover .certificate-image { transform: scale(1.05); }

.image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.image-overlay i {
    color: var(--accent);
    font-size: 1.4rem;
}

.certificate-image-container:hover .image-overlay { opacity: 1; }

.certificate-content {
    padding: 16px;
}

.certificate-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 6px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.certificate-type {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--accent);
    background: var(--accent-dim);
    border: 1px solid rgb(255, 222, 4);
    padding: 2px 8px;
    border-radius: 20px;
    margin-bottom: 10px;
    letter-spacing: 0.04em;
}

.certificate-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-3);
    transition: color var(--transition);
}

.certificate-link:hover { color: var(--accent); }
.certificate-link i { font-size: 0.65rem; }

.certificates-note {
    margin-top: 24px;
    padding: 14px 20px;
    background: var(--accent-dim);
    border: 1px solid rgba(204, 255, 0, 0.15);
    border-radius: var(--radius);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.certificates-note i { color: var(--accent); }
.certificates-note strong { color: var(--accent); }

/* === BOUNTY === */
/* Bounty Section Styles */
#bounty {
    padding: 80px 0;
}

.bounty-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.08), rgba(100, 255, 218, 0.02));
    border-radius: 12px;
    border-left: 4px solid #ff2c1d;
}

.bounty-intro p {
    font-size: 1.1rem;
    color: #8892b0;
    margin: 0;
}

/* Bounty Item Card */
.bounty-item {
    background: rgba(10, 25, 47, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    margin-bottom: 2rem;
    overflow: hidden;
    border: 1px solid rgba(100, 255, 218, 0.1);
    transition: all 0.3s ease;
}

.bounty-item:hover {
    transform: translateY(-4px);
    border-color: rgba(100, 255, 218, 0.3);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

/* Bounty Header */
.bounty-header {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
    background: rgba(100, 255, 218, 0.03);
}

.bounty-company {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.company-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #64ffda, #00b4d8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #0a192f;
}

.company-details h3 {
    font-size: 1.2rem;
    margin: 0 0 5px 0;
    color: #ccd6f6;
}

.bounty-year {
    display: inline-block;
    padding: 2px 10px;
    background: rgba(100, 255, 218, 0.1);
    border-radius: 20px;
    font-size: 0.75rem;
    color:#ff2c1d;
    border: 1px solid rgba(100, 255, 218, 0.2);
}

/* Bounty Body */
.bounty-body {
    display: flex;
    flex-wrap: wrap;
    padding: 1.5rem;
    gap: 1.5rem;
}

.bounty-description {
    flex: 1;
    min-width: 250px;
}

.bounty-description p {
    color: #8892b0;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.bounty-description strong {
    color: #ff2c1d;
}

/* Reward Checklist - icon tetap asli (certificate, tshirt, mug, coin, dll) */
.reward-checklist {
    margin-top: 1rem;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: #ccd6f6;
    font-size: 0.9rem;
    border-bottom: 1px dashed rgba(100, 255, 218, 0.1);
}

.checklist-item i {
    font-size: 1.1rem;
    width: 24px;
    color: #ff2c1d;  /* Warna icon tetap hijau kebiruan */
}

.checklist-item:last-child {
    border-bottom: none;
}

/* Image Container */
.bounty-image-container {
    flex-shrink: 0;
    width: 280px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #0a192f;
    border: 1px solid rgba(100, 255, 218, 0.15);
    transition: all 0.3s ease;
}

.bounty-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.bounty-image-container:hover .bounty-image {
    transform: scale(1.05);
}

.image-hint {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 12px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.image-hint i {
    color: #64ffda;
    font-size: 0.9rem;
}

.image-hint span {
    color: white;
    font-size: 0.75rem;
    margin-left: 5px;
}

.bounty-image-container:hover .image-hint {
    opacity: 1;
}

/* Modal Lightbox */
.bounty-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    animation: modalFadeIn 0.3s ease;
}

.bounty-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
}

.modal-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 10001;
    animation: modalZoomIn 0.3s ease;
}

.modal-close-btn {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close-btn:hover {
    background: #64ffda;
    color: #0a192f;
    transform: rotate(90deg);
}

.modal-image {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.modal-caption {
    text-align: center;
    margin-top: 1rem;
    color: #64ffda;
    font-size: 0.9rem;
}

/* Animations */
@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalZoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    #bounty {
        padding: 50px 0;
    }
    
    .bounty-header {
        padding: 1rem;
    }
    
    .company-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .company-details h3 {
        font-size: 1rem;
    }
    
    .bounty-body {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    
    .bounty-description {
        order: 2;
    }
    
    .bounty-description p {
        font-size: 0.85rem;
    }
    
    .bounty-image-container {
        width: 100%;
        order: 1;
    }
    
    .bounty-image {
        height: auto;
        max-height: 250px;
    }
    
    .checklist-item {
        font-size: 0.8rem;
        padding: 6px 0;
    }
    
    .checklist-item i {
        font-size: 1rem;
        width: 22px;
    }
    
    .modal-close-btn {
        top: -45px;
        right: 0;
        width: 35px;
        height: 35px;
    }
    
    .modal-caption {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .bounty-header {
        padding: 0.8rem;
    }
    
    .company-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .company-details h3 {
        font-size: 0.9rem;
    }
    
    .bounty-year {
        font-size: 0.7rem;
    }
    
    .bounty-body {
        padding: 0.8rem;
    }
    
    .bounty-description p {
        font-size: 0.8rem;
    }
    
    .checklist-item {
        font-size: 0.75rem;
        padding: 5px 0;
    }
    
    .checklist-item i {
        font-size: 0.9rem;
        width: 20px;
    }
    
    .image-hint span {
        font-size: 0.7rem;
    }
}

/* Laptop/Desktop - Layout horizontal */
@media (min-width: 769px) {
    .bounty-body {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .bounty-description {
        flex: 1;
    }
    
    .bounty-image-container {
        width: 320px;
    }
    
    .bounty-image {
        height: 200px;
    }
}

/* === HALL OF FAME === */
.hall-of-fame-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.hall-of-fame-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: border-color var(--transition), transform var(--transition);
}

.hall-of-fame-item:hover {
    border-color: rgba(0,229,176,0.3);
    transform: translateY(-2px);
}

.hall-of-fame-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: var(--accent-dim);
    border: 1px solid rgba(0,229,176,0.2);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hall-of-fame-icon i { color: var(--accent); font-size: 0.9rem; }

.hall-of-fame-content h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.hall-of-fame-content p {
    font-size: 0.8rem;
    color: var(--text-3);
    margin-bottom: 10px;
    line-height: 1.5;
}

.hall-of-fame-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--accent);
    transition: opacity var(--transition);
}

.hall-of-fame-link:hover { opacity: 0.7; }
.hall-of-fame-link i { font-size: 0.62rem; }

/* === CONTACT === */
.contact-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.contact-card {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: border-color var(--transition), transform var(--transition);
}

.contact-card:hover {
    border-color: rgba(0,229,176,0.3);
    transform: translateY(-3px);
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: var(--accent-dim);
    border: 1px solid rgba(0,229,176,0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.contact-icon i {
    color: var(--accent);
    font-size: 1.3rem;
}

.contact-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.contact-card p {
    font-size: 0.82rem;
    color: var(--text-3);
    margin-bottom: 20px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--accent);
    padding: 8px 20px;
    border: 1px solid rgba(0,229,176,0.25);
    border-radius: var(--radius);
    background: var(--accent-dim);
    transition: var(--transition);
}

.contact-link:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

/* === FOOTER === */
#footer {
    border-top: 1px solid var(--border);
    padding: 48px 0;
    background: var(--bg-2);
}

.footer-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
}

.footer-logo i { color: var(--accent); }

.footer-tagline {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-3);
    letter-spacing: 0.05em;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-3);
    transition: color var(--transition);
}

.footer-links a:hover { color: var(--accent); }

.footer-copyright {
    font-size: 0.75rem;
    color: var(--text-3);
}

/* === IMAGE MODAL === */
.image-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.image-modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    transform: scale(0.95);
    transition: transform 0.25s ease;
}

.image-modal.active .modal-content { transform: scale(1); }

.modal-close {
    position: absolute;
    top: -44px;
    right: 0;
    width: 36px;
    height: 36px;
    background: var(--bg-3);
    border: 1px solid var(--border-2);
    border-radius: 50%;
    color: var(--text-2);
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover { color: var(--accent); border-color: var(--accent); }

.modal-image {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-2);
}

.modal-title {
    text-align: center;
    margin-top: 14px;
    font-size: 0.85rem;
    color: var(--text-3);
    font-family: var(--font-mono);
}

/* === ANIMATIONS === */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.animated {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .skills-grid { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .bounty-item { grid-template-columns: 1fr; gap: 20px; }
    .bounty-proof { width: 100%; max-width: 400px; }
}

@media (max-width: 900px) {
    .about-content { grid-template-columns: 1fr; }
    .profile-img { max-width: 300px; }
    .profile-img .img-container { aspect-ratio: 1/1; }
    .contact-content { grid-template-columns: 1fr; }
    .hall-of-fame-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    /* Mobile Nav */
    .nav-menu {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(8,8,8,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
        transform: translateY(-110%);
        transition: transform 0.3s ease;
    }

    .nav-menu.active { transform: translateY(0); }

    .nav-link {
        display: block;
        padding: 12px 24px;
        border-radius: 0;
    }

    .hamburger { display: flex; }

    /* Hero */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text p { margin: 0 auto 36px; }
    .hero-buttons { justify-content: center; }
    .typewriter { justify-content: center; }

    .hero-visual { order: -1; }

    /* Sections */
    .section { padding: 72px 0; }
    .section-title { margin-bottom: 36px; }
    .skills-grid { grid-template-columns: 1fr; }
    .certificates-grid { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .certificates-grid { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .bounty-rewards { flex-direction: column; }
    .section-title { font-size: 1.5rem; }
    .hero-text h1 { font-size: 2.2rem; }

    .contact-card { padding: 24px 16px; }
    .hall-of-fame-item { padding: 16px; }

    .footer-links { gap: 16px; }
}
/* Animasi particle background yang dinamis */
@keyframes float-particle {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    50% {
        transform: translateY(-50vh) translateX(60px) rotate(180deg) scale(1.25);
        opacity: 0.9;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-100vh) translateX(100px) rotate(360deg) scale(0.8);
        opacity: 0;
    }
}

@keyframes float-particle-reverse {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    50% {
        transform: translateY(0) translateX(-60px) rotate(-180deg) scale(1.2);
        opacity: 0.8;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100vh) translateX(-100px) rotate(-360deg) scale(0.85);
        opacity: 0;
    }
}


/* Glow text animation */
@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(100, 255, 218, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(100, 255, 218, 0.8), 0 0 30px rgba(100, 255, 218, 0.4);
    }
}

/* Ripple effect pada button */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 0.5;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* Hover lift effect */
@keyframes lift {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-10px);
    }
}

/* Pulse effect */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Shimmer effect untuk certificate items */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Rotate border animation */
@keyframes rotateBorder {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Typing cursor blink */
@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

/* Slide in from left */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide in from right */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scale in */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Rotate in */
@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.9);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

/* Class untuk animasi tambahan */
.fade-in {
    animation: scaleIn 0.6s ease forwards;
}

/* Class untuk animasi yang sudah ada */
.fade-in.animated {
    animation: none;
}

/* Hover effect untuk certificate items */
.certificate-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.certificate-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.certificate-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(100, 255, 218, 0.1), transparent);
    transition: left 0.5s;
    z-index: 1;
}

.certificate-item:hover::before {
    left: 100%;
}

/* Animated border untuk image container */
.certificate-image-container {
    position: relative;
    overflow: hidden;
}

.certificate-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: 10px;
    transition: all 0.3s;
    pointer-events: none;
}

.certificate-image-container:hover::after {
    border-color: rgba(100, 255, 218, 0.5);
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.3);
}

/* Zoom effect untuk image */
.certificate-image {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.certificate-image-container:hover .certificate-image {
    transform: scale(1.05);
}

/* Animated overlay */
.image-overlay {
    transition: opacity 0.3s ease;
}

.image-overlay i {
    transition: transform 0.3s ease;
}

.certificate-image-container:hover .image-overlay i {
    transform: scale(1.2);
}

/* Button hover animation */
.filter-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(100, 255, 218, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.filter-btn:hover::before {
    width: 100%;
    height: 100%;
}

/* Skill bar dengan gradient animasi */
.skill-progress {
    position: relative;
    overflow: hidden;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

/* Stat number dengan smooth transition */
.stat-number {
    transition: all 0.3s ease;
}

.stat-card:hover .stat-number {
    transform: scale(1.05);
    color: var(--secondary-color);
}

/* Link hover effect */
.certificate-link {
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.certificate-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.certificate-link:hover::after {
    width: 100%;
}

/* Modal animation */
.image-modal.active .modal-content {
    animation: scaleIn 0.3s ease;
}

.modal-close {
    transition: transform 0.3s ease;
}

.modal-close:hover {
    transform: rotate(90deg);
}

/* Scrollbar animation */
::-webkit-scrollbar-thumb {
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #64ffda;
}

/* Loading skeleton animation */
@keyframes loadingPulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.loading-skeleton {
    animation: loadingPulse 1.5s ease infinite;
}

/* Gradient border animation untuk section */
.section-header::after {
    animation: rotateBorder 3s linear infinite;
}

/* Typing cursor */
.typewriter-text::after {
    animation: blink 1s step-end infinite;
}

/* Menu active animation */
.nav-menu.active {
    animation: slideInRight 0.3s ease;
}

.hamburger.active .bar:nth-child(1) {
    animation: rotateIn 0.3s ease forwards;
}

/* Glass morphism hover effect */
.glass-card {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.glass-card:hover {
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(100, 255, 218, 0.1);
}

/* Press & Media Section */
.press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.press-card {
    background: var(--bg-card, #1e1e24);
    border: 1px solid var(--border-color, #2a2a35);
    border-radius: 12px;
    padding: 1.8rem;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.press-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color, #00f2fe);
}

.press-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 242, 254, 0.1);
    color: var(--accent-color, #00f2fe);
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 242, 254, 0.3);
}

.press-meta {
    font-size: 0.85rem;
    color: var(--text-muted, #a0a0a0);
    margin-bottom: 0.8rem;
}

.press-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.press-description {
    font-size: 0.95rem;
    color: var(--text-secondary, #cccccc);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.press-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
}