/* ==========================================================================
   BERANDA HERO SECTION (THEME CYBERPUNK - PERFECT PROPORTIONAL SPACING)
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 110px 0 40px 0; 
    position: relative;
}

.hero-container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.badge-innovate {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(138, 43, 226, 0.12) !important;
    border: 1px solid rgba(189, 83, 255, 0.3) !important;
    color: var(--purple-glow);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    margin-top: 0;
    margin-bottom: 1.2rem; 
    letter-spacing: 0.5px;
}

.hero-content h1 {
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 1.05; 
    color: var(--text-light);
    margin-top: 0;
    margin-bottom: 0.2rem; 
    letter-spacing: -1.5px;
}

.hero-content .subtitle {
    font-size: 4.2rem;
    font-weight: 900;
    background: linear-gradient(to right, #ffffff 30%, #bd53ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1; 
    margin-top: 0;
    margin-bottom: 1.5rem !important; 
    letter-spacing: -1px;
    filter: drop-shadow(0 0 15px rgba(189, 83, 255, 0.25));
}

.hero-content .tagline {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    margin-top: 0;
    margin-bottom: 0.8rem; 
    display: flex;
    align-items: center;
    line-height: 1.2;
}

.typing-cursor {
    color: #bd53ff;
    font-weight: 400;
    margin-left: 4px;
    animation: kedipKursor 0.8s infinite;
    filter: drop-shadow(0 0 5px #bd53ff);
}

@keyframes kedipKursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6; 
    margin-top: 0;
    margin-bottom: 1.8rem; 
}

.hero-social-wrapper {
    display: flex;
    gap: 12px;
    margin-top: 0;
}

.hero-social-wrapper a {
    width: 44px;
    height: 44px;
    background: rgba(19, 11, 46, 0.6);
    border: 1px solid rgba(138, 43, 226, 0.2);
    color: var(--text-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.hero-social-wrapper a:hover {
    background: #8a2be2;
    color: #ffffff;
    border-color: #bd53ff;
    box-shadow: 0 0 15px #bd53ff;
    transform: translateY(-4px);
}

.hero-image-wrapper img {
    width: 100%;
    max-width: 480px;
    height: auto;
    object-fit: cover;
    filter: drop-shadow(0 10px 35px rgba(138, 43, 226, 0.25));
}

/* ==========================================================================
   SEKSI PROFIL ORGANISASI MAIN LAYOUT
   ========================================================================== */
.profile-section {
    padding: 80px 0;
    position: relative;
}

.profile-main-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.profile-pre-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #a49cb9;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.profile-title-text {
    font-size: 2.3rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
}

.profile-content-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center; 
}

.profile-left-content {
    display: flex;
    flex-direction: column;
}

.profile-general-desc {
    margin-top: 0;
    margin-bottom: 35px; 
}

.plain-text-p {
    color: #a49cb9;
    font-size: 1.02rem;  
    line-height: 1.8;    
    text-align: justify;
}

.profile-tab-container {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    margin-top: 15px; 
}

.tab-btn {
    background: transparent;
    border: 1px solid rgba(138, 43, 226, 0.3);
    color: #ffffff;
    padding: 11px 26px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.tab-btn:hover {
    border-color: #bd53ff;
    background: rgba(138, 43, 226, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(189, 83, 255, 0.2);
}

/* LOGO PROFIL BERPUTAR */
.profile-right-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-spotlight-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: #0a051b;
    position: relative;
    overflow: hidden; 
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 35px rgba(138, 43, 226, 0.2);
}

.spotlight-beam {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.12) 0%, rgba(138, 43, 226, 0.04) 50%, transparent 100%);
    clip-path: polygon(30% 0%, 70% 0%, 100% 100%, 0% 100%);
    pointer-events: none;
    z-index: 4;
}

.rotating-gradient-border {
    position: absolute;
    width: 140%;
    height: 140%;
    background: conic-gradient(
        from 0deg,
        #bd53ff 0%,
        #00ffff 25%,
        #8a2be2 50%,
        #007aff 75%,
        #bd53ff 100%
    );
    animation: rotasiGlow 6s linear infinite;
    z-index: 1;
}

@keyframes rotasiGlow {
    100% { transform: rotate(360deg); }
}

.inner-logo-mask {
    position: absolute;
    width: 294px; 
    height: 294px;
    background: #0f0a26;
    border-radius: 50%;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.7);
    overflow: hidden;
}

.center-logo-graphic {
    width: 100%;       
    height: 100%;      
    object-fit: cover; 
    border-radius: 50%;
    z-index: 3;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.4));
}

/* MODAL OVERLAY FORMAT */
.profile-modal-overlay, .modal-popup {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 2, 15, 0.75); 
    backdrop-filter: blur(8px); 
    -webkit-backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    z-index: 15000; 
}

.profile-modal-card, .modal-content {
    background: #130b2e !important;
    border: 1px solid rgba(138, 43, 226, 0.35) !important;
    border-radius: 20px !important;
    padding: 35px !important;
    max-width: 550px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(138, 43, 226, 0.15);
    animation: meluncurMasukModal 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes meluncurMasukModal {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.profile-modal-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(138, 43, 226, 0.15);
    padding-bottom: 12px;
}
.profile-modal-title span { color: #bd53ff; }

.profile-modal-body-scroll, #modalDesc {
    max-height: 350px;
    overflow-y: auto;
    padding-right: 12px;
    text-align: left;
    line-height: 1.7;
    color: #a49cb9;
    text-align: justify;
    font-size: 0.95rem;
}

.profile-modal-body-scroll::-webkit-scrollbar, #modalDesc::-webkit-scrollbar { width: 5px; }
.profile-modal-body-scroll::-webkit-scrollbar-track, #modalDesc::-webkit-scrollbar-track { background: transparent; }
.profile-modal-body-scroll::-webkit-scrollbar-thumb, #modalDesc::-webkit-scrollbar-thumb { background: rgba(138, 43, 226, 0.3); border-radius: 4px; }
.profile-modal-body-scroll::-webkit-scrollbar-thumb:hover, #modalDesc::-webkit-scrollbar-thumb:hover { background: #bd53ff; }

.modal-footer-action {
    display: flex;
    justify-content: flex-end; 
    margin-top: 25px;
    border-top: 1px solid rgba(138, 43, 226, 0.15);
    padding-top: 15px;
}

.btn-modal-back {
    background: rgba(138, 43, 226, 0.08);
    border: 1px solid #8a2be2;
    color: #bd53ff;
    padding: 10px 24px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.1);
}

.btn-modal-back:hover {
    background: #8a2be2;
    color: #ffffff;
    border-color: #bd53ff;
    box-shadow: 0 0 20px #bd53ff;
    transform: translateY(-2px);
}

.neon-list-title { font-size: 1.1rem; color: #bd53ff; font-weight: 700; margin-bottom: 6px; }
.neon-bullet-list { list-style: none; padding: 0; margin: 0; }
.neon-bullet-list li { color: #a49cb9; font-size: 0.95rem; line-height: 1.7; margin-bottom: 8px; position: relative; padding-left: 24px; text-align: justify; }
.neon-bullet-list li span, .neon-bullet-list.style-bold-prefix li::before { color: #bd53ff; font-weight: 700; position: absolute; left: 0; top: 0; }
.neon-bullet-list.style-bold-prefix li::before { content: "•"; font-size: 1.3rem; line-height: 1.4; left: 4px; }
.neon-bullet-list li strong { color: #ffffff; font-weight: 600; }

.color-meaning-box { margin-top: 25px; border-top: 1px solid rgba(138, 43, 226, 0.15); padding-top: 15px; }
.color-box-title { font-size: 1rem; color: #bd53ff; font-weight: 700; margin-bottom: 12px; }
.color-grid-table { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.color-item-row { display: flex; align-items: center; color: #a49cb9; font-size: 0.95rem; }
.color-item-row strong { color: #ffffff; margin-right: 6px; font-weight: 600; }

.dot-color { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 10px; flex-shrink: 0; }
.dot-merah  { background-color: #ff3b30; box-shadow: 0 0 6px #ff3b30; }
.dot-kuning { background-color: #ffcc00; box-shadow: 0 0 6px #ffcc00; }
.dot-biru   { background-color: #007aff; box-shadow: 0 0 6px #007aff; }
.dot-putih  { background-color: #ffffff; box-shadow: 0 0 6px #ffffff; }

/* ==========================================================================
   SEKSI POLITEKNIK ANGGOTA
   ========================================================================== */
.poly-section { padding: 100px 0; position: relative; }
.poly-main-header { text-align: center; margin-bottom: 4rem; }
.poly-pre-title { font-size: 0.85rem; font-weight: 600; color: #a49cb9; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 5px; }
.poly-title-text { font-size: 2.3rem; font-weight: 800; color: #ffffff; letter-spacing: 1.5px; text-transform: uppercase; }
.poly-grid-container { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; justify-content: center; }
/* 1. Base Kartu - HANYA untuk tampilan awal & Animasi Muncul */
.poly-card-box { 
    cursor: pointer; 
    background: rgba(19, 11, 46, 0.3) !important; 
    border: 1px solid rgba(138, 43, 226, 0.12) !important; 
    border-radius: 15px !important; 
    padding: 25px 15px !important; 
    text-align: center; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    min-height: 200px; 
    
    /* Hapus transisi all, gunakan animasi muncul */
    opacity: 0; 
    animation: fadeInUp 0.6s ease forwards;
}

/* 2. Hover Efek - Kita taruh transisi di sini agar tidak mengganggu animasi muncul */
.poly-card-box:hover { 
    transform: none !important; 
    border-color: rgba(189, 83, 255, 0.6) !important; 
    box-shadow: 0 0 15px 1px rgba(189, 83, 255, 0.4) !important; 
    background: rgba(19, 11, 46, 0.7) !important; 
    /* Transisi instan hanya saat hover */
    transition: background 0.1s ease, border-color 0.1s ease, box-shadow 0.1s ease !important;
}

.poly-card-box { 
    opacity: 0; 
    transform: translateY(30px);
    transition: all 0.6s ease-out; /* Transisi untuk muncul */
}

/* Class ini akan dipasang oleh JS saat kartu masuk ke layar */
.poly-card-box.active-reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Delay kartu satu per satu */
.poly-card-box:nth-child(1) { animation-delay: 0.1s; }
.poly-card-box:nth-child(2) { animation-delay: 0.2s; }
.poly-card-box:nth-child(3) { animation-delay: 0.3s; }
.poly-card-box:nth-child(4) { animation-delay: 0.4s; }
.poly-card-box:nth-child(5) { animation-delay: 0.5s; }
.poly-card-box:hover { 
    transform: none; /* MENGHILANGKAN EFEK TIMBUL/NAIK */
    border-color: rgba(189, 83, 255, 0.5) !important; 
    /* EFEK MENYALA (GLOW) */
    box-shadow: 0 0 20px 2px rgba(189, 83, 255, 0.3) !important; 
    background: rgba(19, 11, 46, 0.6) !important; 
}
.poly-logo-wrapper { height: 95px; width: 100%; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.poly-logo-graphic { max-height: 100%; max-width: 90%; object-fit: contain; display: block; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3)); transition: transform 0.3s ease; }
.poly-card-box:hover .poly-logo-graphic { transform: scale(1.50); }
.poly-fullname-label { font-size: 0.88rem; font-weight: 500; color: #a49cb9; line-height: 1.5; margin: 0; text-align: center; transition: color 0.3s ease; }
.poly-card-box:hover .poly-fullname-label { color: #ffffff; }

@media (max-width: 1100px) { .poly-grid-container { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .poly-grid-container { grid-template-columns: repeat(2, 1fr); gap: 1rem; } .poly-title-text { font-size: 1.8rem; } }
@media (max-width: 480px) { .poly-grid-container { grid-template-columns: 1fr; } }

/* ==========================================================================
   SEKSI PROGRAM KERJA (OPTIMIZED FOR FLUIDITY)
   ========================================================================== */
.proker-section { padding: 80px 0; }
.proker-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }

.proker-card { 
    background: var(--bg-dark-card) !important; 
    overflow: hidden; 
    border: 1px solid rgba(138, 43, 226, 0.1) !important; 
    border-radius: 16px !important; 
    /* Mengganti variabel dengan durasi spesifik agar responsif */
    transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.25s ease !important;
    will-change: transform, box-shadow; /* Memberitahu browser untuk bersiap melakukan animasi */
}

.proker-card:hover { 
    border-color: rgba(189, 83, 255, 0.4) !important; 
    box-shadow: 0 15px 30px rgba(138, 43, 226, 0.2) !important; 
    transform: translateY(-5px); /* Sedikit dikurangi agar lebih elegan dan tidak patah */
}

.proker-img-card { 
    width: 100%; 
    height: 240px; 
    object-fit: cover; 
    opacity: 0.85; 
    transition: transform 0.4s ease; /* Transisi gambar tetap lembut */
}

.proker-card:hover .proker-img-card {
    transform: scale(1.05); /* Zoom halus saat kartu di-hover */
}

.proker-card > div { padding: 2rem; }
.proker-card h3 { color: var(--text-light) !important; font-size: 1.3rem; margin: 0; }
.proker-card p { color: var(--text-muted) !important; margin-top: 8px; }

/* Responsive Grid */
@media (max-width: 768px) { .proker-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   UPGRADED FINAL SYSTEM: STRUKTUR ORGANISASI TREE CHART (SINKRON 100%)
   ========================================================================== */
.structure-section {
    padding: 100px 0;
    position: relative;
}

.structure-main-header {
    text-align: center;
    margin-bottom: 4rem;
}

.structure-pre-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #a49cb9;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.structure-title-text {
    font-size: 2.3rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.chart-tree-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.tree-level {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 5;
}

.flex-row-layout {
    display: flex;
    flex-direction: row;
    justify-content: space-between; 
    width: 100%;
}

.chart-member-node {
    background: rgba(19, 11, 46, 0.4) !important;
    padding: 14px 24px !important;
    border-radius: 10px !important;
    text-align: center;
    border: 1px solid rgba(138, 43, 226, 0.5) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    min-width: 170px;
    transition: all 0.3s ease;
}

.chart-member-node h5 {
    color: #ffffff !important;
    font-weight: 500;
    font-size: 0.85rem;
    margin: 0;
    letter-spacing: 0.3px;
}

.chart-member-node.accent-purple-glow {
    border-color: #bd53ff !important;
    box-shadow: 0 0 15px rgba(189, 83, 255, 0.25);
}

.chart-member-node:hover {
    border-color: #bd53ff !important;
    box-shadow: 0 0 20px rgba(189, 83, 255, 0.45);
    transform: translateY(-2px);
}

/* Garis Hubung Vertikal Tunggal Pemisah Antar Level */
.tree-vertical-line {
    width: 2px;
    height: 35px;
    background: rgba(189, 83, 255, 0.6);
    box-shadow: 0 0 6px rgba(189, 83, 255, 0.4);
}

.combined-level-wrapper, .full-width-branch-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.spacing-korbid { margin-top: 35px; }
.spacing-distrik { margin-top: 40px; }

.centering-staff { max-width: 850px; }
.centering-distrik { max-width: 1000px; }

/* REVISI FITUR WIRE HORIZONTAL: Membersihkan total linear-gradient lama yang putus */
.tree-branch-wire {
    width: 100%;
    height: 40px;
    position: relative;
    background: transparent !important;
    border: none !important;
}

/* Pseudo element ::before memegang kendali penuh garis horizontal menyala murni */
.tree-branch-wire::before {
    content: '';
    position: absolute;
    top: 0;
    height: 2px; 
    background: rgba(189, 83, 255, 0.6) !important;
    box-shadow: 0 0 6px rgba(189, 83, 255, 0.4);
}

/* Pipa kawat vertikal menusuk ke bawah murni dari tengah */
.tree-branch-wire::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: rgba(189, 83, 255, 0.6);
    box-shadow: 0 0 4px rgba(189, 83, 255, 0.4);
}

/* FIXED REMOVE: Menghapus total kawat ekor vertikal sisa yang menggantung di tengah tingkat Distrik */
.wire-four-way::after {
    display: none !important; 
}

/* Garis Hubung Vertikal Umum Pemisah Level (Mengunci tingkat bawah tetap padat) */
.tree-vertical-line {
    width: 2px;
    height: 35px; 
    background: rgba(189, 83, 255, 0.6);
    box-shadow: 0 0 6px rgba(189, 83, 255, 0.4);
}

/* FIXED TRICK: Khusus tiang vertikal di bawah Wakorda agar tetap renggang and tidak ikut memendek */
.tree-level > .tree-vertical-line:first-of-type {
    height: 55px !important; /* Mengunci jarak khusus Wakorda ke kawat Staff Ahli agar tetap lega */
}

/* CONTAINER INTEGRASI LOGIKA BINDING POHON KEPENGURUSAN */
.combined-level-wrapper, .full-width-branch-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Pengaturan Jarak Antar Blok Level (Padat, rapi, anti-molor) */
.spacing-korbid { 
    margin-top: 35px; 
}
.spacing-distrik { 
    margin-top: 15px; 
}

.centering-staff { max-width: 850px; }
.centering-distrik { max-width: 1000px; }

/* MASTER WIRES BRIDGING CONFIG */
.tree-branch-wire {
    width: 100%;
    height: 40px;
    position: relative;
    background: transparent !important;
}

.tree-branch-wire::before {
    content: '';
    position: absolute;
    top: 0;
    height: 2px; 
    background: rgba(189, 83, 255, 0.6) !important;
    box-shadow: 0 0 6px rgba(189, 83, 255, 0.4);
}

/* Tiang vertikal tengah yang turun dari kawat horizontal */
.tree-branch-wire::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%; 
    background: rgba(189, 83, 255, 0.6);
    box-shadow: 0 0 4px rgba(189, 83, 255, 0.4);
}

/* Memotong ekor lidi gantung di bawah tingkat Distrik */
.wire-four-way::after {
    display: none !important;
}

/* ==========================================================================
   KAWAT BENTANGAN SIKU UJUNG (KUNCI MATI PAS DI AS TENGAH CARD UJUNG)
   ========================================================================== */
.wire-three-way {
    max-width: 566px; 
    border-left: 2px solid rgba(189, 83, 255, 0.6) !important;
    border-right: 2px solid rgba(189, 83, 255, 0.6) !important;
    background: linear-gradient(to right, rgba(189, 83, 255, 0.6) 100%, transparent 0%) top/100% 2px no-repeat !important;
}
.wire-three-way::before { display: none !important; }
.wire-three-way::after { display: flex !important; }

/* Kawat Korbid (5-way) */
.wire-five-way {
    width: calc(100% - 170px) !important; 
    max-width: 980px !important; 
    border-left: 2px solid rgba(189, 83, 255, 0.6) !important;
    border-right: 2px solid rgba(189, 83, 255, 0.6) !important;
    margin-top: 0 !important;    
    margin-bottom: 0 !important; 
}
.wire-five-way::before {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    transform: none !important;
}

/* Kawat Distrik (4-way) */
.wire-four-way {
    width: calc(100% - 250px) !important; 
    max-width: 715px !important; 
    border-left: 2px solid rgba(189, 83, 255, 0.6) !important;
    border-right: 2px solid rgba(189, 83, 255, 0.6) !important;
    margin-top: 0 !important;    
    margin-bottom: 0 !important; 
}
.wire-four-way::before {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    transform: none !important;
}

/* ==========================================================================
   SEKSI PROGRAM KERJA & SERTIFIKASI (FINAL: 2-LAYER, FLUID HOVER, RESPONSIVE)
   ========================================================================== */
.proker-section {
    padding: 100px 0;
    position: relative;
}

.proker-section .container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

.proker-header {
    text-align: center;
    margin-bottom: 2rem;
}

/* --- STYLE UNTUK TOMBOL TAB NAVIGASI --- */
.tab-showcase-navigation {
    display: flex;
    justify-content: center;
    background: rgba(19, 11, 46, 0.8);
    border: 1px solid rgba(138, 43, 226, 0.3);
    padding: 8px;
    border-radius: 50px;
    margin: 0 auto 3rem auto;
    width: max-content;
}

.tab-nav-item {
    background: transparent;
    border: none;
    color: rgba(164, 156, 185, 0.7);
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-nav-item.active {
    background: rgba(138, 43, 226, 0.2);
    border: 1px solid rgba(138, 43, 226, 0.5);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.2);
}

/* Sembunyikan pane yang tidak aktif */
.tab-showcase-pane { display: none; }
.tab-showcase-pane.active { display: block; animation: fadeInTab 0.4s ease; }
@keyframes fadeInTab { 
    from { opacity: 0; transform: translateY(10px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* --- STYLE UNTUK GRID DAN CARD (2-LAYER RESPONSIVE) --- */
.proker-grid {
    display: grid;
    /* Grid fleksibel, min 280px agar muat di HP kecil tanpa tumpah */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* Kunci Utama: Struktur fleksibel agar teks/tombol di bawah tidak terpotong */
.proker-card {
    background: #150f2d;
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 16px;
    overflow: hidden;
    
    /* Gunakan min-height, jangan height mutlak agar bisa melar ke bawah */
    min-height: 420px; 
    height: auto; 
    
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    
    /* Setingan Animasi Masuk (Dari JavaScript Intersection Observer) */
    opacity: 0;
    transform: translateY(30px);
    
    /* Setingan Transisi Hover Fluid & Anti Patah-patah */
    transition: transform 0.6s cubic-bezier(0.2, 0, 0, 1), opacity 0.6s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    will-change: transform, opacity, box-shadow;
}

/* Class ini di-trigger oleh JavaScript saat di-scroll */
.proker-card.active-reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Saat Kartu Di-Hover (Hanya berlaku setelah JS trigger animasinya) */
.proker-card.active-reveal:hover {
    transform: translateY(-5px);
    border-color: rgba(138, 43, 226, 0.6);
    box-shadow: 0 15px 35px rgba(138, 43, 226, 0.2);
}

/* Layer Atas: Gambar dipatenkan tingginya */
.proker-img-card {
    width: 100%;
    height: 220px; /* Ukuran pas agar judul & teks di bawahnya lega */
    object-fit: cover;
    opacity: 0.9;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

/* Zoom lembut pada gambar saat kartu di-hover */
.proker-card.active-reveal:hover .proker-img-card {
    transform: scale(1.03);
    opacity: 1;
}

/* Layer Bawah: Biarkan mengisi sisa ruang secara dinamis (flex: 1) */
.proker-card > div {
    flex: 1; /* Mendorong otomatis jika isi teks sedikit/banyak */
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Selalu paksa baris tombol ke paling bawah */
    position: relative; 
    z-index: 2; /* Menjaga teks aman di atas saat efek gambar nge-zoom */
    background: #150f2d; 
}

.proker-card h3 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Beri ruang maksimal 2 baris untuk judul */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.proker-card p {
    color: #a49cb9;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Beri ruang maksimal 3 baris untuk deskripsi */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Baris bawah: Tanggal dan Tombol Details */
.proker-card-meta-row, .cert-card-footer {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    margin-top: 15px; /* Jarak aman dari deskripsi */
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05); 
}

.proker-date-badge, .cert-verify-badge {
    color: #538dff;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Tombol Detail */
.btn-proker-detail {
    background: transparent;
    border: 1px solid rgba(138, 43, 226, 0.5);
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
    width: auto; 
}

.btn-proker-detail:hover {
    background: rgba(138, 43, 226, 0.2);
    border-color: #bd53ff;
}

.proker-empty-state { 
    text-align: center; 
    color: #a49cb9; 
    padding: 40px; 
    grid-column: 1 / -1; 
}

/* --- PENGATURAN KHUSUS LAYAR HP --- */
@media (max-width: 768px) {
    .proker-grid {
        grid-template-columns: 1fr; /* Paksa 1 baris vertikal di HP */
        gap: 20px;
        padding: 0 10px;
    }
    .proker-img-card {
        height: 200px; /* Gambar dibuat sedikit lebih pendek di HP */
    }
    .tab-showcase-navigation {
        width: 100%; /* Tab melar menyesuaikan layar HP */
        flex-direction: row;
        justify-content: center;
    }
}

/* ==========================================================================
   PUFFY BOX LOCK SYSTEM
   ========================================================================== */
.protected-container.theme-dark-purple { position: relative; background-color: #0a051b; background-image: linear-gradient(rgba(189, 83, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(189, 83, 255, 0.03) 1px, transparent 1px); background-size: 40px 40px; min-height: 400px; }
.content-overlay-lock.align-center { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10, 5, 27, 0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; justify-content: center; align-items: center; z-index: 999; padding: 40px 0; }
.puffy-box.lock-card { background-color: #130b2e; padding: 45px 40px; border-radius: 24px; border: 1px solid rgba(189, 83, 255, 0.4); max-width: 460px; width: 90%; text-align: center; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(189, 83, 255, 0.25); display: flex; flex-direction: column; align-items: center; }
.puffy-box-header { margin-bottom: 20px; }
.lock-icon-puffy { font-size: 2.8rem; color: #bd53ff; margin-bottom: 15px; filter: drop-shadow(0 0 10px #8a2be2); }
.puffy-box-header h3 { font-size: 1.8rem; color: #ffffff; font-weight: 800; margin: 0; }
.puffy-box-body p { color: #a49cb9; font-size: 0.95rem; line-height: 1.6; margin-bottom: 30px; }
.btn-lock-login-puffy { display: inline-flex; align-items: center; gap: 10px; background: rgba(138, 43, 226, 0.1); color: #bd53ff; padding: 14px 32px; border-radius: 30px; font-weight: 700; text-decoration: none; border: 2px solid #8a2be2; box-shadow: 0 0 15px rgba(138, 43, 226, 0.2); transition: all 0.3s ease; }
.btn-lock-login-puffy:hover { background-color: #8a2be2; color: #ffffff; border-color: #bd53ff; box-shadow: 0 0 25px #bd53ff; transform: translateY(-3px); }

@keyframes zoomInModal { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
footer { background-color: #05020f; color: var(--text-muted); text-align: center; padding: 2.5rem 0; font-size: 0.9rem; border-top: 1px solid rgba(138, 43, 226, 0.08); }

