/* =========================================
   GLOBAL PAGE LOAD ANIMATION (DEEP VERSION)
========================================= */

@media (prefers-reduced-motion: no-preference){

  body{
    animation: exjBodyFade 1s ease both;
  }

  .pkp_structure_main{
    animation: exjPageIn 0.9s cubic-bezier(.22,1,.36,1) both;
    animation-delay: .15s;
  }

  .pkp_structure_sidebar{
    animation: exjPageIn 1s cubic-bezier(.22,1,.36,1) both;
    animation-delay: .25s;
  }

  .exj-card,
  .exj-footer-card{
    animation: exjCardIn 1.05s cubic-bezier(.22,1,.36,1) both;
    animation-delay: .3s;
  }

  .pkp_navigation_user > li > a{
    animation: exjPopIn 1s cubic-bezier(.22,1,.36,1) both;
    animation-delay: .35s;
  }
}


/* Body Fade */
@keyframes exjBodyFade{
  from{ opacity: 0; }
  to{ opacity: 1; }
}

/* Slide + Fade */
@keyframes exjPageIn{
  from{
    opacity: 0;
    transform: translateY(30px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

/* Card Zoom + Fade */
@keyframes exjCardIn{
  from{
    opacity: 0;
    transform: translateY(35px) scale(.95);
  }
  to{
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Login/Register */
@keyframes exjPopIn{
  from{
    opacity: 0;
    transform: translateY(-10px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}


/* =========================================
   LOGO HEADER - RESPONSIVE (SAFE)
========================================= */

.pkp_site_name .is_img img{
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 220px;
  margin-top: 25px;
}


/* =========================================
   COLOR SYSTEM (WASHINGTON COVER: NAVY → BLUE → PURPLE GLOW)
   NOTE: variable names tetap (orange/brown) biar kompatibel struktur
========================================= */

:root{

  /* 🌌 Deep Navy / Blue */
  --exj-orange-900:#060b1f;  /* sangat gelap */
  --exj-orange-800:#0b1636;  /* navy */
  --exj-orange-700:#102a63;  /* main deep blue */
  --exj-orange-600:#1a4aa2;  /* electric blue */
  --exj-orange-500:#2e73ff;  /* highlight blue */

  /* soft background hover */
  --exj-orange-50:#eef4ff;

  /* 🟣 Purple / Cyan Glow Accent */
  --exj-brown-900:#160a2b;   /* deep purple */
  --exj-brown-800:#2b1360;   /* purple */
  --exj-brown-700:#6a43ff;   /* violet highlight */
  --exj-brown-600:#36c9ff;   /* cyan glow */

  /* ⚪ Neutral */
  --exj-text:#111827;
  --exj-muted:#6b7280;
  --exj-border:#e5e7eb;
  --exj-shadow: 0 12px 30px rgba(17,24,39,.12);
}


/* =========================================
   COVER IMAGE
========================================= */

.exj-cover img{
  width: 100% !important;
  height: auto !important;
  border-radius: 18px;
  border: 1px solid var(--exj-border);
  box-shadow: var(--exj-shadow);
  display:block;
}


/* =========================================
   CARD CONTAINER
========================================= */

.content.exj-card{
  background: #fff !important;
  border: 1px solid var(--exj-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--exj-shadow);
}


/* =========================================
   CARD TITLE (NAVY → ELECTRIC BLUE → PURPLE)
========================================= */

.exj-title{
  padding: 12px 12px !important;
  background: linear-gradient(
    135deg,
    var(--exj-orange-700) 0%,
    var(--exj-orange-600) 55%,
    var(--exj-brown-800) 100%
  ) !important;
  border-bottom: 1px solid rgba(255,255,255,.16) !important;
  color: #fff !important;
  letter-spacing: .2px;
}

.exj-title strong,
.exj-title span{
  color:#fff !important;
}


/* =========================================
   BUTTONS
========================================= */

.exj-btn{
  display:block;
  border-radius: 18px !important;
  border: 1px solid rgba(26,74,162,.28) !important; /* blue border */
  background: #fff !important;
  color: var(--exj-text) !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  box-shadow: 0 10px 22px rgba(16,42,99,.14);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, filter .15s ease;
}

/* PRIMARY BUTTON (CTA) */
.exj-btn-primary{
  background: linear-gradient(
    135deg,
    var(--exj-orange-700),
    var(--exj-brown-800)
  ) !important;
  color:#fff !important;
  border: 1px solid rgba(43,19,96,.30) !important;
  box-shadow: 0 14px 28px rgba(26,74,162,.18);
}

.exj-btn-ghost{
  background: #fff !important;
}

.exj-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(26,74,162,.22);
}

.exj-btn-primary:hover{
  filter: brightness(1.06);
}


/* =========================================
   BUTTON ROW RESPONSIVE
========================================= */

.exj-btn-row{
  display:flex !important;
  gap: 12px !important;
}

@media (max-width: 420px){
  .exj-btn-row{ flex-direction: column !important; }
}


/* =========================================
   MENU ITEMS
========================================= */

.exj-item{
  padding: 0 !important;
  background: #fff !important;
  border-bottom: 1px solid var(--exj-border) !important;
}

.exj-link{
  display:block;
  padding: 12px 12px !important;
  color: var(--exj-orange-700) !important;
  font-weight: 800;
  text-decoration: none !important;
  position: relative;
  transition: background .15s ease, transform .15s ease;
}

.exj-link:hover{
  background: var(--exj-orange-50) !important;
  transform: translateX(2px);
}


/* Left Accent Line (BLUE → CYAN GLOW) */
.exj-link::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width: 4px;
  background: linear-gradient(
    180deg,
    var(--exj-orange-600),
    var(--exj-brown-600)
  );
  opacity: 0;
  transition: opacity .15s ease;
}

.exj-link:hover::before{
  opacity: 1;
}


/* =========================================
   DOWNLOAD SECTION
========================================= */

.exj-download{
  text-align: center;
  background: #fff !important;
  border-bottom: none !important;
  padding: 18px !important;
}

.exj-download-link{
  display: inline-block;
  text-decoration: none !important;
  color: var(--exj-orange-700) !important;
  font-weight: 800;
  transition: transform .2s ease;
}

.exj-download-link img{
  width: 100% !important;
  max-width: 220px;
  height: auto !important;
  border-radius: 16px;
  border: 1px solid var(--exj-border);
  box-shadow: 0 12px 25px rgba(16,42,99,.16);
  margin-bottom: 10px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.exj-download-link:hover img{
  transform: translateY(-3px);
  box-shadow: 0 16px 35px rgba(26,74,162,.22);
}


/* =========================================
   VISITOR STATISTIC
========================================= */

.exj-visitor{
  text-align: center;
  padding: 18px !important;
  border-bottom: none !important;
}

.exj-visitor-wrap img{
  max-width: 100%;
  border-radius: 12px;
  margin-bottom: 10px;
  box-shadow: 0 8px 18px rgba(16,42,99,.14);
  transition: transform .2s ease, box-shadow .2s ease;
}

.exj-visitor-wrap img:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(26,74,162,.22);
}

.exj-stat-link{
  display:inline-block;
  margin-top:8px;
  font-weight:800;
  color: var(--exj-brown-800) !important;
  text-decoration:none !important;
  border-bottom:2px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}

.exj-stat-link:hover{
  border-bottom:2px solid var(--exj-brown-700);
  color: var(--exj-orange-600) !important;
}


/* =========================================
   EDITORIAL OFFICE FOOTER
========================================= */

.exj-footer-card{
  margin-top: 20px;
  padding: 22px;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    var(--exj-orange-700) 0%,
    var(--exj-brown-800) 70%,
    var(--exj-brown-900) 100%
  );
  color: #ffffff;
  box-shadow: 0 15px 35px rgba(16,42,99,.26);
}

.exj-footer-title{
  font-size: 20px;
  margin-bottom: 12px;
  color: #ffffff;
  letter-spacing: .3px;
}

.exj-footer-text{
  font-size: 14px;
  line-height: 1.6;
  color: #fff;
}

.exj-footer-link{
  color: rgba(214,242,255,.95) !important; /* cyan-ish */
  text-decoration: none;
  font-weight: 800;
  border-bottom: 2px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}

.exj-footer-link:hover{
  border-bottom: 2px solid #fff;
  color: #ffffff !important;
}


/* =========================================
   TOP USER MENU (LOGIN / REGISTER) - BOX + ANIMATION
========================================= */

@media (min-width: 992px){
  .pkp_navigation_user{
    padding-top: .35rem;
    padding-bottom: .35rem;
    line-height: 1.43rem;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;

    /* JARAK BAWAH agar tidak tabrakan dengan header */
    margin-bottom: 16px;
  }
}

/* style tombol */
.pkp_navigation_user > li > a{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(26,74,162,.22);
  background: rgba(255,255,255,.86);
  color: #111827 !important;

  font-weight: 800;
  text-decoration: none !important;

  box-shadow: 0 8px 18px rgba(16,42,99,.12);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, filter .18s ease;
  will-change: transform;
}

/* hover animasi */
.pkp_navigation_user > li > a:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(16,42,99,.18);
  background: #fff;
  border-color: rgba(26,74,162,.36);
}

/* efek klik */
.pkp_navigation_user > li > a:active{
  transform: translateY(0px) scale(.98);
  box-shadow: 0 8px 18px rgba(16,42,99,.12);
}

/* fokus keyboard */
.pkp_navigation_user > li > a:focus{
  outline: none;
  box-shadow: 0 0 0 3px rgba(54,201,255,.28), 0 14px 26px rgba(16,42,99,.18);
  border-color: rgba(54,201,255,.55);
}

/* tombol utama (yang terakhir) */
.pkp_navigation_user > li:last-child > a{
  background: linear-gradient(
    135deg,
    var(--exj-orange-600),
    var(--exj-brown-800)
  );
  border-color: rgba(43,19,96,.25);
  color: #fff !important;
}

/* hover tombol utama */
.pkp_navigation_user > li:last-child > a:hover{
  filter: brightness(1.06);
}

/* animasi masuk */
@media (prefers-reduced-motion: no-preference){
  .pkp_navigation_user > li > a{
    animation: exjPopIn .35s ease both;
    margin-top: 10px;
  }
  .pkp_navigation_user > li:nth-child(1) > a{ animation-delay: .02s; }
  .pkp_navigation_user > li:nth-child(2) > a{ animation-delay: .06s; }
}

@keyframes exjPopIn{
  from{ opacity: 0; transform: translateY(-6px) scale(.98); }
  to{ opacity: 1; transform: translateY(0) scale(1); }
}