/* ========================================================
   MODERN ROYAL BLUE FOOTER - ANIMATED EDITION
=========================================================== */

/* 1. Sembunyikan Footer Default */
footer, #pkp-footer, .pkp_structure_footer {
    display: none !important;
}

/* 2. Custom Footer via Pseudo-element */
.pkp_structure_page::after {
    content: "© 2026 EKOPOLIS. Licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)";
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 50px;
    padding: 80px 20px 50px 20px;
    background: linear-gradient(135deg, #060d52 0%, #1125E9 100%);
    color: #e0e6ff;
    font-size: 13px;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.8;
    clip-path: polygon(0 25%, 100% 0, 100% 100%, 0 100%);
    box-shadow: inset 0 10px 30px rgba(0,0,0,0.3);
    border-top: 2px solid #4a5eff;
}

/* 3. Layout Card Content */
.pkp_structure_content {
    max-width: 1100px;
    margin: -40px auto 30px !important; 
    background: rgba(255, 255, 255, 0.98);
    padding: 45px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(10, 22, 138, 0.12); 
    border: 1px solid rgba(17, 37, 233, 0.1);
    position: relative;
    z-index: 5;
    backdrop-filter: blur(5px);
}

/* 4. Link Animasi (Klik) */
a {
    color: #1125E9;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block; /* Agar transformasi bekerja maksimal */
}

a:hover {
    color: #060d52;
    transform: scale(1.02);
}

/* EFEK KLIK PADA LINK */
a:active {
    transform: scale(0.95); /* Efek mengecil saat ditekan */
    filter: brightness(0.8);
}

/* 5. Tombol Primary Modern dengan Animasi Klik */
.pkp_button_primary, .btn-primary {
    background: linear-gradient(to right, #1125E9, #4a5eff) !important;
    border: none !important;
    padding: 12px 25px !important;
    border-radius: 12px !important;
    transition: all 0.2s ease !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.pkp_button_primary:hover, .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(17, 37, 233, 0.4) !important;
}

/* EFEK KLIK PADA TOMBOL (FON & BENTUK) */
.pkp_button_primary:active, .btn-primary:active {
    transform: translateY(1px) scale(0.97); /* Tombol seolah tertekan ke bawah */
    box-shadow: 0 2px 10px rgba(17, 37, 233, 0.2) !important;
    filter: contrast(1.2);
    letter-spacing: 1.5px; /* Fon seolah melebar sedikit saat diklik */
}

/* 6. Animasi Fade In saat Halaman Dimuat (Opsional) */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.pkp_structure_content {
    animation: fadeInUp 0.8s ease-out;
}