/* Custom animations & interactive styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: #0F171E;
    color: #E2E8F0;
}

.gold-gradient {
    background: linear-gradient(135deg, #D4AF37 0%, #F3E5AB 50%, #B89628 100%);
}

.gold-border {
    border-color: #D4AF37;
}

.glass-card {
    background: rgba(26, 37, 48, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.glass-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 10px 30px -10px rgba(212, 175, 55, 0.2);
}

.nav-link.active {
    color: #D4AF37;
    border-bottom: 2px solid #D4AF37;
}

.tab-btn.active {
    background: linear-gradient(135deg, #D4AF37 0%, #B89628 100%);
    color: #0F171E;
    font-weight: 600;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0F171E;
}

::-webkit-scrollbar-thumb {
    background: #2D3748;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #D4AF37;
}


/* ==========================================
   CERTIFICATE SECTION STYLES
   ========================================== */

/* Efek transisi halus pada kartu sertifikat */
.glass-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Efek zoom gambar saat kartu di-hover */
.certificate-img-wrapper img {
    transition: transform 0.5s ease;
}

.group:hover .certificate-img-wrapper img {
    transform: scale(1.08);
}

/* Modal / Lightbox Overlay untuk Preview Sertifikat */
.cert-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(15, 23, 30, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cert-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.cert-modal-content {
    background: #1A2530;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 1.5rem;
    max-width: 900px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

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

/* Utilitas pendukung potong teks jika terlalu panjang */
.line-clamp-1 {
    display: -webkit-box;
    line-clamp: 1;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================
   INTERACTIVE CONSTELLATION / PARTICLE NETWORK
   ========================================== */
   #constellation-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6; /* Atur kecerahan/transparansi di sini (0.1 - 1.0) */
}