/*
  INDERA SAKTI ADHYAKSA — Portal Publik Stylesheet
  Cinematic Splash + Adhyaksa Deep Emerald, Radiant Gold & Crimson Waspada Theme
*/

/* ─── CSS Variables (inherit from admin theme) ─── */
:root {
  --bg-base: #050b08;
  --bg-surface: #0a1610;
  --bg-card: rgba(12, 26, 18, 0.85);
  --bg-card-hover: rgba(18, 38, 26, 0.95);
  --bg-input: #07130d;

  --border-subtle: rgba(250, 204, 21, 0.18);
  --border-focus: #facc15;
  --border-glass: rgba(16, 185, 129, 0.28);
  --border-green: rgba(16, 185, 129, 0.35);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --primary: #facc15;
  --primary-hover: #fde047;
  --primary-glow: rgba(250, 204, 21, 0.38);

  --adhyaksa-dark: #041f14;
  --adhyaksa-green: #0a5c37;
  --adhyaksa-emerald: #10b981;
  --adhyaksa-emerald-glow: rgba(16, 185, 129, 0.35);

  --accent-gold: #facc15;
  --accent-gold-rich: #d4af37;
  --accent-gold-glow: rgba(250, 204, 21, 0.42);
  --accent-red: #dc2626;
  --accent-red-hover: #ef4444;
  --accent-red-glow: rgba(220, 38, 38, 0.38);
  --accent-crimson: #b91c1c;
  --accent-green: #10b981;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  --accent-cyan: #06b6d4;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --font-display: 'Orbitron', var(--font-sans);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-subtle: 0 4px 20px -2px rgba(0, 0, 0, 0.75);
  --shadow-glow: 0 0 30px rgba(250, 204, 21, 0.28);
  --shadow-emerald-glow: 0 0 30px rgba(16, 185, 129, 0.3);
  --shadow-red-glow: 0 0 30px rgba(220, 38, 38, 0.28);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg-base);
  color: var(--text-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; }

/* ═══════════════════════════════════════════════════ */
/*  SPLASH SCREEN — Cinematic Double-Door Reveal      */
/* ═══════════════════════════════════════════════════ */
.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-base);
  transition: opacity 0.6s ease 0.8s;
}
.splash-screen.opening {
  pointer-events: none;
}
.splash-screen.gone {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

/* Doors */
.splash-door {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  z-index: 10;
  overflow: hidden;
  transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}
.splash-door-left { left: 0; }
.splash-door-right { right: 0; }

.door-inner {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #050d09 0%, #0d281a 50%, #050d09 100%);
}
.splash-door-right .door-inner {
  background: linear-gradient(225deg, #050d09 0%, #0d281a 50%, #050d09 100%);
}

.door-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(250, 204, 21, 0.04) 60px, rgba(250, 204, 21, 0.04) 61px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(250, 204, 21, 0.04) 60px, rgba(250, 204, 21, 0.04) 61px);
}

.splash-screen.opening .splash-door-left {
  transform: translateX(-100%);
}
.splash-screen.opening .splash-door-right {
  transform: translateX(100%);
}

/* Center Logo Assembly */
.splash-center {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  cursor: default;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.6s ease;
  max-width: 480px;
  width: 100%;
}
.splash-screen.opening .splash-center {
  transform: scale(0.6);
  opacity: 0;
}

/* Rotating Rings */
.splash-ring {
  position: absolute;
  border-radius: 50%;
}
.splash-ring-outer {
  width: 260px; height: 260px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: ring-spin 22s linear infinite;
  border: 2px dashed rgba(212, 175, 55, 0.65);
}
.splash-ring-middle {
  width: 220px; height: 220px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: ring-spin 15s linear infinite reverse;
  border: 1.5px solid rgba(16, 185, 129, 0.65);
}
.splash-ring-inner {
  width: 180px; height: 180px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: ring-spin 9s linear infinite;
  border: 1px dotted rgba(250, 204, 21, 0.55);
}
@keyframes ring-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* Logo Wrap */
.splash-logo-wrap {
  position: relative;
  width: 260px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: logo-breathe 3s ease-in-out infinite;
}
@keyframes logo-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.splash-logo-img {
  position: relative;
  z-index: 2;
  width: 165px;
  height: 165px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 0 25px rgba(2, 72, 35, 0.85)) drop-shadow(0 0 15px rgba(212, 175, 55, 0.7));
  transition: transform 0.3s ease, filter 0.3s ease;
}
.splash-logo-wrap:hover .splash-logo-img {
  transform: scale(1.06);
  filter: drop-shadow(0 0 35px rgba(2, 72, 35, 1)) drop-shadow(0 0 25px rgba(212, 175, 55, 0.9));
}

.splash-glow {
  position: absolute;
  inset: -25px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.28) 0%, rgba(212, 175, 55, 0.22) 45%, transparent 70%);
  animation: glow-pulse 3s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* Splash Text */
.splash-text-group {
  text-align: center;
}
.splash-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 5px;
  background: linear-gradient(90deg, #ffffff 10%, #fde047 50%, #facc15 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(250, 204, 21, 0.45));
  margin-bottom: 5px;
}
.splash-subtitle {
  font-size: 11px;
  font-weight: 700;
  color: #fde047;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════ */
/*  CYBER LOGIN MODAL & SPLASH TRIGGER                 */
/* ═══════════════════════════════════════════════════ */
.splash-login-trigger-wrap {
  margin-top: 22px;
  z-index: 25;
}

.btn-splash-login {
  background: linear-gradient(135deg, #064e3b 0%, #047857 50%, #065f46 100%);
  border: 1.5px solid rgba(250, 204, 21, 0.75);
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 32px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.7), 0 0 25px rgba(16, 185, 129, 0.45);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}
.btn-splash-login:hover {
  background: linear-gradient(135deg, #047857 0%, #10b981 100%);
  border-color: #facc15;
  color: #ffffff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 35px rgba(250, 204, 21, 0.4), 0 0 25px rgba(16, 185, 129, 0.6);
}

.login-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10005;
  background: rgba(2, 8, 4, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.login-modal-backdrop.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: none;
}

.login-modal-dialog {
  position: relative;
  max-width: 420px;
  width: 100%;
  animation: modalZoomIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalZoomIn {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.btn-modal-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #08160f;
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  color: #d4af37;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.7);
  transition: all 0.2s ease;
}
.btn-modal-close:hover {
  background: #d4af37;
  color: #040905;
  transform: scale(1.1);
}

.login-card-cyber {
  background: rgba(6, 18, 12, 0.92);
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  border-radius: 16px;
  padding: 20px 24px 18px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 30px rgba(212, 175, 55, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.login-card-cyber::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, transparent, #10b981 25%, #d4af37 50%, #10b981 75%, transparent);
}

.login-card-header {
  text-align: center;
  margin-bottom: 16px;
}

.login-security-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 6px;
}

.security-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseGreen 1.8s infinite;
  display: inline-block;
}

@keyframes pulseGreen {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.security-tag-text {
  font-size: 9.5px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: #34d399;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.login-card-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0;
  font-family: var(--font-sans);
}

.login-field-row {
  margin-bottom: 13px;
  text-align: left;
}

.login-field-label {
  font-size: 10px;
  font-weight: 700;
  color: #d4af37;
  letter-spacing: 0.8px;
  margin-bottom: 5px;
  display: block;
  text-transform: uppercase;
  font-family: var(--font-sans);
}

.login-field-label-split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.btn-toggle-pwd {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: #e5c158;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 7px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: all 0.2s ease;
}
.btn-toggle-pwd:hover {
  background: rgba(212, 175, 55, 0.25);
  color: #ffffff;
  border-color: #d4af37;
}

.login-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.login-input-wrap .login-icon {
  position: absolute;
  left: 12px;
  font-size: 13px;
  pointer-events: none;
  opacity: 0.8;
  color: #d4af37;
  z-index: 2;
}

.login-input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px 10px 36px;
  background: #090b10;
  border: 1.5px solid rgba(250, 204, 21, 0.3);
  border-radius: 8px;
  color: #ffffff;
  font-size: 13px;
  font-family: var(--font-sans);
  transition: all 0.2s ease;
  outline: none;
}
.login-input:focus {
  border-color: #facc15;
  background: #11141e;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.35), 0 0 16px rgba(250, 204, 21, 0.35);
}
.login-input::placeholder {
  color: #64748b;
}

.login-submit-wrap {
  margin-top: 14px;
}

.btn-portal-submit {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 16px;
  background: linear-gradient(135deg, #064e3b 0%, #047857 50%, #065f46 100%);
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(250, 204, 21, 0.65);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.45);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.btn-portal-submit:hover {
  filter: brightness(1.1);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 24px rgba(250, 204, 21, 0.45), 0 0 20px rgba(16, 185, 129, 0.6);
}
.btn-portal-submit:active {
  transform: translateY(0);
}

.login-status-alert {
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}
.login-status-alert.status-success {
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid #10b981;
  color: #6ee7b7;
}
.login-status-alert.status-error {
  background: rgba(244, 63, 94, 0.18);
  border: 1px solid #f43f5e;
  color: #fecdd3;
  animation: shakeAlert 0.4s ease;
}
.login-status-alert.status-loading {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid #d4af37;
  color: #fef08a;
}

@keyframes shakeAlert {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.login-preset-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.preset-label {
  font-size: 10px;
  color: #94a3b8;
  font-weight: 500;
}

.preset-chip {
  font-size: 10.5px;
  font-family: var(--font-mono);
  font-weight: 600;
  color: #d4af37;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 5px;
  padding: 3px 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.preset-chip:hover {
  background: rgba(212, 175, 55, 0.22);
  border-color: #d4af37;
  color: #ffffff;
  transform: translateY(-1px);
}

/* User Session Badge in Portal Navbar */
.nav-user-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(6, 78, 59, 0.45);
  border: 1px solid rgba(250, 204, 21, 0.4);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11px;
  white-space: nowrap !important;
  flex-shrink: 0;
}
.nav-user-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  display: inline-block;
  flex-shrink: 0;
}
.nav-user-text {
  font-weight: 600;
  color: #fde047;
  font-family: var(--font-mono);
  font-size: 10.5px;
  white-space: nowrap !important;
}
.btn-nav-logout {
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.35);
  color: #fecdd3;
  font-size: 10.5px;
  cursor: pointer;
  font-weight: 700;
  margin-left: 4px;
  padding: 2px 8px;
  border-radius: 4px;
  transition: background 0.2s, border-color 0.2s;
}
.btn-nav-logout:hover {
  background: rgba(244, 63, 94, 0.3);
  border-color: #f43f5e;
}

.splash-hint-icon {
  font-size: 10px;
  animation: hint-arrow 1.5s ease-in-out infinite;
}
@keyframes hint-blink {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
@keyframes hint-arrow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

/* Particles */
.splash-particles {
  position: absolute;
  inset: -200px;
  pointer-events: none;
}
.splash-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0;
  animation: particle-float 5s linear infinite;
}
@keyframes particle-float {
  0% { opacity: 0; transform: translateY(0) scale(0.5); }
  20% { opacity: 0.6; }
  80% { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-200px) scale(0); }
}

/* ═══════════════════════════════════════════════════ */
/*  PORTAL WRAPPER                                    */
/* ═══════════════════════════════════════════════════ */
.portal-wrapper {
  opacity: 0;
  transition: opacity 0.8s ease 0.4s;
  min-height: 100vh;
}
.portal-wrapper.visible {
  opacity: 1;
}

/* ─── NAVIGATION BAR ─── */
.portal-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  height: 56px;
  gap: 10px;
  background: rgba(10, 11, 16, 0.96);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap !important;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap !important;
}
.nav-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.6)) drop-shadow(0 0 5px rgba(250, 204, 21, 0.6));
  flex-shrink: 0;
}
.nav-brand-text { display: flex; flex-direction: column; white-space: nowrap !important; }
.nav-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #ffffff, #fde047, #facc15);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap !important;
  line-height: 1.2;
}
.nav-subtitle {
  font-size: 9px;
  color: #94a3b8;
  letter-spacing: 0.4px;
  white-space: nowrap !important;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 1;
  white-space: nowrap !important;
}
.nav-link {
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.25px;
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
  text-align: center;
  flex-shrink: 0;
}
.nav-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}
.nav-link.active {
  color: var(--primary);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap !important;
}
.nav-clock {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-dim);
  letter-spacing: 0.4px;
  white-space: nowrap !important;
  flex-shrink: 0;
}
.nav-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.08));
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  transition: all 0.25s;
  white-space: nowrap !important;
  flex-shrink: 0;
}
.nav-login-btn:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.15));
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
  transform: translateY(-1px);
}
.login-icon { font-size: 13px; }

/* ─── RUNNING TICKER ─── */
.ticker-bar {
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #071510 0%, rgba(16, 185, 129, 0.25) 50%, #071510 100%);
  border-bottom: 1px solid var(--border-subtle);
  height: 38px;
  overflow: hidden;
}
.ticker-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-rose);
  letter-spacing: 2px;
  background: rgba(244, 63, 94, 0.08);
  height: 100%;
  border-right: 1px solid rgba(244, 63, 94, 0.2);
}
.ticker-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-rose);
  animation: live-pulse 1.5s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--accent-rose); }
  50% { opacity: 0.3; box-shadow: 0 0 2px var(--accent-rose); }
}
.ticker-track {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.ticker-content {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
  animation: ticker-scroll 160s linear infinite;
  padding-left: 100%;
}
.ticker-track:hover .ticker-content {
  animation-play-state: paused;
  cursor: pointer;
}
.ticker-content span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.ticker-content .ticker-alert-badge {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 700;
}
.ticker-alert-KRITIS {
  background: rgba(244, 63, 94, 0.2);
  color: var(--accent-rose);
  border: 1px solid rgba(244, 63, 94, 0.3);
}
.ticker-alert-WASPADA {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.25);
}
.ticker-alert-NORMAL {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.2);
}
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ─── PORTAL SECTIONS ─── */
.portal-section {
  max-width: 1360px;
  margin: 0 auto;
  padding: 48px 32px;
}
.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 2px;
}
.section-desc {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 4px;
}
.section-timestamp {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

/* ─── STATS GRID ─── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  transition: all 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}
.stat-icon { font-size: 28px; }
.stat-value {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1;
}
.stat-label {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
  font-weight: 500;
}
.stat-card-gold { border-color: rgba(212, 175, 55, 0.25); }
.stat-card-gold .stat-value { color: var(--primary); }
.stat-card-emerald { border-color: rgba(16, 185, 129, 0.2); }
.stat-card-emerald .stat-value { color: var(--accent-emerald); }
.stat-card-rose { border-color: rgba(244, 63, 94, 0.2); }
.stat-card-rose .stat-value { color: var(--accent-rose); }
.stat-card-amber { border-color: rgba(245, 158, 11, 0.2); }
.stat-card-amber .stat-value { color: var(--accent-amber); }
.stat-card-cyan { border-color: rgba(6, 182, 212, 0.2); }
.stat-card-cyan .stat-value { color: var(--accent-cyan); }
.stat-card-normal { border-color: rgba(16, 185, 129, 0.12); }
.stat-card-normal .stat-value { color: var(--accent-emerald); }

/* ─── THREAT PANEL ─── */
.threat-panel {
  padding: 22px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(250, 204, 21, 0.25);
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.3) 0%, rgba(18, 28, 22, 0.85) 100%);
  margin-bottom: 36px;
}
.threat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.threat-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 2px;
}
.threat-level-badge {
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.threat-level-badge.threat-kritis {
  color: var(--accent-rose);
  background: rgba(244, 63, 94, 0.15);
  border-color: rgba(244, 63, 94, 0.3);
  animation: badge-pulse-red 1.5s ease-in-out infinite;
}
.threat-level-badge.threat-waspada {
  color: var(--accent-amber);
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.3);
}
@keyframes badge-pulse-red {
  0%, 100% { box-shadow: 0 0 8px rgba(244, 63, 94, 0.2); }
  50% { box-shadow: 0 0 20px rgba(244, 63, 94, 0.5); }
}
.threat-bar-wrap { position: relative; }
.threat-bar-bg {
  height: 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.threat-bar-fill {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--accent-emerald), var(--accent-amber), var(--accent-rose));
  width: 10%;
  transition: width 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.threat-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-dim);
  margin-top: 6px;
  letter-spacing: 1px;
}

/* ─── SPOTLIGHT GRID ─── */
.spotlight-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
}
.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.spotlight-card {
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.spotlight-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: var(--shadow-glow);
}
.spotlight-alert-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  width: fit-content;
  letter-spacing: 1px;
}
.spotlight-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.spotlight-card-title a {
  color: inherit;
  transition: color 0.2s;
}
.spotlight-card-title a:hover { color: var(--primary); }
.spotlight-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--text-dim);
  flex-wrap: wrap;
}
.spotlight-source-badge {
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

/* ─── FEED CONTROLS ─── */
.feed-controls {
  display: flex;
  gap: 10px;
}
.portal-select {
  padding: 7px 14px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
}
.portal-select:focus {
  border-color: var(--primary);
  outline: none;
}

/* ─── FEED GRID ─── */
.feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}
.feed-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feed-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.25);
  box-shadow: var(--shadow-glow);
}
.feed-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.feed-card-alert {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}
.alert-kritis {
  background: rgba(244, 63, 94, 0.15);
  color: var(--accent-rose);
  border: 1px solid rgba(244, 63, 94, 0.25);
}
.alert-waspada {
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.2);
}
.alert-normal {
  background: rgba(16, 185, 129, 0.08);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.15);
}
.feed-card-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feed-card-title a {
  color: inherit;
  transition: color 0.2s;
}
.feed-card-title a:hover { color: var(--primary); }
.feed-card-summary {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feed-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10.5px;
  color: var(--text-dim);
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.feed-card-sentiment {
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 10px;
}

.feed-load-more {
  text-align: center;
  margin-top: 28px;
}
.btn-load-more {
  padding: 12px 32px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.25s;
}
.btn-load-more:hover {
  background: rgba(212, 175, 55, 0.15);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

/* ─── SITREP PUBLIC CARD ─── */
.sitrep-public-card {
  padding: 26px 28px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(250, 204, 21, 0.3);
  background: linear-gradient(160deg, rgba(6, 78, 59, 0.35) 0%, rgba(16, 28, 22, 0.9) 100%);
  margin-bottom: 36px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}
.sitrep-public-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  flex-wrap: wrap;
}
.sitrep-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.sitrep-emblem {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 0 14px rgba(212, 175, 55, 0.4));
}
.sitrep-public-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #fef08a;
  letter-spacing: 0.8px;
}
.sitrep-public-date {
  font-size: 11.5px;
  color: #94a3b8;
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sitrep-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

@media (max-width: 900px) {
  .sitrep-metrics-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .sitrep-metrics-row {
    grid-template-columns: 1fr;
  }
}

.sitrep-metric-pill {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(212, 175, 55, 0.15);
  padding: 10px 14px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sitrep-metric-lbl {
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sitrep-metric-val {
  font-size: 12.5px;
  font-weight: 700;
  color: #f8fafc;
}

.sitrep-public-body {
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.75;
  background: rgba(4, 10, 6, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 3px solid #d4af37;
  padding: 16px 20px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.sitrep-actions-bar {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.btn-portal-sitrep-detail {
  padding: 8px 18px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(184, 150, 40, 0.3) 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #fef08a;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-portal-sitrep-detail:hover {
  background: linear-gradient(135deg, #d4af37 0%, #b89628 100%);
  color: #040905;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.35);
}

.sitrep-empty-msg {
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
  padding: 24px;
}

/* ─── ANALYSES GRID ─── */
.subsection-title {
  font-size: 16px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.analyses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 18px;
}
.analysis-card {
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 175, 55, 0.16);
  background: linear-gradient(180deg, rgba(16, 26, 20, 0.8) 0%, rgba(8, 14, 10, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 270px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.analysis-card:hover {
  border-color: rgba(212, 175, 55, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
  background: linear-gradient(180deg, rgba(20, 34, 26, 0.85) 0%, rgba(10, 18, 14, 0.95) 100%);
}
.analysis-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  gap: 8px;
}
.analysis-badges-left {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.badge-impact-sm {
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-impact-kritis {
  background: rgba(244, 63, 94, 0.2);
  border: 1px solid rgba(244, 63, 94, 0.6);
  color: #fecdd3;
}
.badge-impact-tinggi {
  background: rgba(249, 115, 22, 0.2);
  border: 1px solid rgba(249, 115, 22, 0.6);
  color: #fed7aa;
}
.badge-impact-sedang {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.6);
  color: #fde68a;
}
.badge-impact-rendah {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.6);
  color: #6ee7b7;
}

.badge-district-sm {
  font-size: 10px;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}

.analysis-time-tag {
  font-size: 10.5px;
  color: var(--text-dim);
}

.analysis-card-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.analysis-source-tag {
  font-size: 11px;
  color: #34d399;
  margin-bottom: 10px;
  font-weight: 600;
}

.analysis-card-body {
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.analysis-aght-pill {
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ─── SOCMINT TAB ─── */
.socmint-platform-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.socmint-tab {
  padding: 8px 18px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.25s;
}
.socmint-tab:hover {
  color: var(--text-main);
  background: rgba(255,255,255,0.06);
}
.socmint-tab.active {
  color: var(--primary);
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.3);
}
.socmint-feed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 14px;
}
.socmint-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.socmint-card:hover {
  transform: translateY(-2px);
  border-color: rgba(6, 182, 212, 0.3);
}
.socmint-card-platform {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 9999px;
  width: fit-content;
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.2);
}
.socmint-card-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.socmint-card-footer {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-dim);
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.socmint-card-link {
  color: inherit;
  text-decoration: none;
}
.socmint-card-link:hover {
  color: var(--primary);
}

/* ─── FOOTER ─── */
.portal-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 32px;
  background: rgba(6, 12, 9, 0.95);
}
.footer-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
  opacity: 0.7;
}
.footer-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 2px;
}
.footer-subtitle {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
}
.footer-meta {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  color: var(--text-dim);
}


/* ═══════════════════════════════════════════════════ */
/*  PROYEK STRATEGIS (PPS) SECTION                     */
/* ═══════════════════════════════════════════════════ */
.pps-summary-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.pps-summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  backdrop-filter: blur(8px);
  transition: transform 0.2s, border-color 0.2s;
}
.pps-summary-card:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 175, 55, 0.35);
}
.pps-sum-icon {
  font-size: 28px;
}
.pps-sum-val {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
}
.pps-sum-lbl {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.projects-portal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 22px;
}

.pps-card-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.pps-card-item:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.1);
}

.pps-img-wrap {
  position: relative;
  width: 100%;
  height: 170px;
  background: #020704;
  overflow: hidden;
}
.pps-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.pps-card-item:hover .pps-card-img {
  transform: scale(1.05);
}
.pps-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, #0e291c 0%, #040c08 100%);
  color: rgba(212, 175, 55, 0.5);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
  text-align: center;
  padding: 20px;
}

.pps-cat-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(4, 12, 8, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--primary);
  font-size: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}
.pps-aght-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}
.badge-aght-low { background: rgba(16, 185, 129, 0.25); border: 1px solid #10b981; color: #6ee7b7; }
.badge-aght-medium { background: rgba(245, 158, 11, 0.25); border: 1px solid #f59e0b; color: #fde68a; }
.badge-aght-high { background: rgba(244, 63, 94, 0.25); border: 1px solid #f43f5e; color: #fecdd3; }

.pps-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pps-code-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.pps-title {
  font-size: 15px;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.35;
  margin-bottom: 12px;
}
.pps-meta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  font-size: 11.5px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}
.meta-label { color: var(--text-dim); }
.meta-val { color: #cbd5e1; font-weight: 600; }
.text-gold { color: var(--primary) !important; font-weight: 700; }
.text-emerald { color: #34d399 !important; font-weight: 700; }

.pps-progress-block {
  margin-bottom: 12px;
}
.pps-progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 5px;
}
.progress-pct {
  color: var(--primary);
  font-weight: 700;
  font-family: var(--font-mono);
}
.pps-progress-track {
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}
.pps-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #d4af37);
  border-radius: 999px;
  transition: width 0.8s ease;
}

.pps-aght-summary {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(212, 175, 55, 0.1);
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 11px;
  line-height: 1.45;
  color: #94a3b8;
  margin-bottom: 14px;
}
.pps-aght-summary strong {
  color: var(--primary);
  display: block;
  margin-bottom: 3px;
}

.pps-card-actions {
  margin-top: auto;
}
.btn-portal-dossier {
  width: 100%;
  padding: 9px 12px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.28);
  color: var(--primary);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-portal-dossier:hover {
  background: var(--primary);
  color: #040905;
  border-color: var(--primary);
}

/* ═══════════════════════════════════════════════════ */
/*  DIREKTORI INTELIJEN SECTION                        */
/* ═══════════════════════════════════════════════════ */
.intel-portal-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  padding-bottom: 12px;
}
.intel-portal-tab {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.intel-portal-tab:hover {
  color: var(--primary);
  border-color: rgba(212, 175, 55, 0.4);
}
.intel-portal-tab.active {
  background: linear-gradient(135deg, #d4af37 0%, #b89628 100%);
  color: #040905;
  border-color: #fef08a;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
}

/* Visibility Control for Tab Panes */
.intel-portal-pane {
  display: block;
  animation: fadeInIntelPane 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.intel-portal-pane.hidden {
  display: none !important;
}

.intel-portal-pane:not(.active) {
  display: none !important;
}

@keyframes fadeInIntelPane {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.people-portal-grid, .aliran-portal-grid, .orgs-portal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}

.intel-card-item {
  background: linear-gradient(180deg, rgba(16, 26, 20, 0.75) 0%, rgba(8, 14, 10, 0.85) 100%);
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.intel-card-item:hover {
  border-color: rgba(212, 175, 55, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
  background: linear-gradient(180deg, rgba(20, 34, 26, 0.85) 0%, rgba(10, 18, 14, 0.95) 100%);
}
.intel-card-top {
  display: flex;
  gap: 14px;
  margin-bottom: 12px;
  align-items: flex-start;
}
.intel-avatar-wrap {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: #030805;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.intel-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.intel-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: rgba(220, 38, 38, 0.25);
  border: 1px solid rgba(250, 204, 21, 0.3);
}
.intel-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
  flex: 1;
}
.intel-badge-status {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 800;
  padding: 2.5px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.badge-dpo { 
  background: rgba(244, 63, 94, 0.2); 
  border: 1px solid rgba(244, 63, 94, 0.6); 
  color: #fecdd3; 
  box-shadow: 0 0 10px rgba(244, 63, 94, 0.2);
}
.badge-waspada { 
  background: rgba(245, 158, 11, 0.2); 
  border: 1px solid rgba(245, 158, 11, 0.6); 
  color: #fde68a; 
}
.badge-pantau { 
  background: rgba(16, 185, 129, 0.2); 
  border: 1px solid rgba(16, 185, 129, 0.5); 
  color: #6ee7b7; 
}

.intel-card-name {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.intel-alias { 
  color: #fef08a; 
  font-size: 12px; 
  font-weight: 600;
  display: inline-block;
}
.intel-card-role { 
  font-size: 11.5px; 
  color: #34d399; 
  font-weight: 600; 
  letter-spacing: 0.2px;
}
.intel-card-loc { 
  font-size: 11px; 
  color: #94a3b8; 
  display: flex;
  align-items: center;
  gap: 4px;
}

.intel-card-snippet {
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.55;
  margin-bottom: 14px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-intel-card-detail {
  padding: 8px 12px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: #fef08a;
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: auto;
  width: 100%;
}
.btn-intel-card-detail:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.3) 0%, rgba(184, 150, 40, 0.4) 100%);
  border-color: #fef08a;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.25);
}

/* ═══════════════════════════════════════════════════ */
/*  PORTAL DOSSIER MODAL                               */
/* ═══════════════════════════════════════════════════ */
.portal-dossier-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10010;
  background: rgba(2, 8, 4, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.portal-dossier-backdrop.hidden {
  display: none;
}
.portal-dossier-dialog {
  position: relative;
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  background: #08160f;
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(212, 175, 55, 0.15);
  animation: modalZoomIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-dossier-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #050d09;
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.btn-dossier-close:hover {
  background: var(--primary);
  color: #040905;
}

.dossier-header-view {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.dossier-stamp {
  font-size: 9.5px;
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--primary);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 6px;
}
.dossier-header-view h2 {
  font-size: 18px;
  color: #f8fafc;
  line-height: 1.35;
  margin-bottom: 4px;
}
.dossier-code {
  font-size: 11.5px;
  color: var(--text-dim);
  font-family: var(--font-mono);
}
.dossier-full-img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}
.dossier-avatar-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto 16px auto;
  display: block;
  border: 1px solid rgba(212, 175, 55, 0.3);
}
.dossier-info-table {
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(212, 175, 55, 0.1);
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 12px;
}
.dossier-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.dossier-row .lbl { color: var(--text-dim); font-weight: 500; }
.dossier-row .val { color: #e2e8f0; font-weight: 600; text-align: right; }

.dossier-narrative-box {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 12px;
  font-size: 12px;
  line-height: 1.5;
}
.dossier-narrative-box h4 {
  font-size: 11.5px;
  color: var(--primary);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.dossier-narrative-box p {
  color: #cbd5e1;
  margin: 0;
}

/* ═════════════════════════════════════════════════════════════════════════ */
/*  RESPONSIVE ADAPTATIONS: DESKTOP, LAPTOP, TABLET, AND MOBILE SMARTPHONES  */
/* ═════════════════════════════════════════════════════════════════════════ */

/* Mobile Quick Pillbar Navigation */
.portal-quick-pillbar {
  display: none;
  background: rgba(8, 16, 12, 0.95);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding: 8px 14px;
  overflow-x: auto;
  white-space: nowrap;
  gap: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  position: sticky;
  top: 60px;
  z-index: 95;
}
.portal-quick-pillbar::-webkit-scrollbar { display: none; }

.quick-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 999px;
  color: #cbd5e1;
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  flex-shrink: 0;
}
.quick-pill:hover,
.quick-pill.active {
  background: rgba(212, 175, 55, 0.25);
  border-color: #d4af37;
  color: #fef08a;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.btn-portal-mobile-toggle {
  display: none;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #d4af37;
  font-size: 18px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}
.btn-portal-mobile-toggle:hover {
  background: rgba(212, 175, 55, 0.25);
  color: #fff;
}

/* 1200px - Large Tablet Landscape / Small Laptops */
@media (max-width: 1200px) {
  .portal-nav {
    padding: 0 14px;
    gap: 8px;
  }
  .nav-links {
    gap: 3px;
    white-space: nowrap !important;
  }
  .nav-link {
    padding: 5px 8px;
    font-size: 10px;
    white-space: nowrap !important;
    letter-spacing: 0.2px;
  }
  .nav-clock {
    font-size: 9.5px;
    white-space: nowrap !important;
  }
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .pps-summary-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .spotlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 992px - Standard Tablets (iPad Landscape & Portrait) */
@media (max-width: 992px) {
  .portal-nav {
    height: 60px;
    padding: 0 16px;
  }
  .nav-links {
    display: none;
  }
  .portal-quick-pillbar {
    display: flex;
  }
  .btn-portal-mobile-toggle {
    display: inline-flex;
  }
  .nav-clock {
    display: none;
  }
  .nav-links.mobile-drawer-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(6, 12, 9, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    padding: 16px 20px;
    gap: 8px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.85);
    z-index: 105;
  }
  .nav-links.mobile-drawer-open .nav-link {
    padding: 12px 16px;
    font-size: 13px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 8px;
    background: rgba(13, 56, 34, 0.2);
  }
  .portal-section {
    padding: 36px 20px;
  }
  .section-title {
    font-size: 20px;
  }
}

/* 768px - Mini Tablets & Phablets */
@media (max-width: 768px) {
  .portal-nav {
    height: 56px;
    padding: 0 12px;
  }
  .portal-quick-pillbar {
    top: 56px;
    padding: 6px 10px;
  }
  .nav-brand-text .nav-title {
    font-size: 11.5px;
    letter-spacing: 1px;
  }
  .nav-brand-text .nav-subtitle {
    font-size: 8.5px;
    letter-spacing: 0.5px;
  }
  .nav-logo {
    width: 30px;
    height: 30px;
  }
  .nav-login-btn .login-text {
    display: none;
  }
  .nav-login-btn {
    padding: 7px 10px;
    border-radius: 8px;
  }
  .nav-user-badge {
    padding: 3px 8px;
    font-size: 10px;
  }
  .nav-user-text {
    max-width: 85px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  
  /* Stats Cards Grid */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .stat-card {
    padding: 12px 10px;
    gap: 10px;
  }
  .stat-icon {
    font-size: 22px;
  }
  .stat-value {
    font-size: 20px;
  }
  .stat-label {
    font-size: 10px;
  }

  /* Threat Panel */
  .threat-panel {
    padding: 16px 14px;
    margin-bottom: 24px;
  }
  .threat-header {
    flex-wrap: wrap;
    gap: 8px;
  }
  .threat-title {
    font-size: 11.5px;
    letter-spacing: 1px;
  }

  /* Spotlight Grid */
  .spotlight-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* PPS Section */
  .pps-summary-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .pps-summary-card {
    padding: 12px;
    gap: 8px;
  }
  .pps-sum-val {
    font-size: 15px;
  }
  .pps-sum-lbl {
    font-size: 10px;
  }
  .projects-portal-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Intel Directory */
  .intel-portal-tabs {
    gap: 6px;
    padding-bottom: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .intel-portal-tab {
    padding: 7px 12px;
    font-size: 11px;
    white-space: nowrap;
  }
  .people-portal-grid,
  .aliran-portal-grid,
  .orgs-portal-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* News Feed */
  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
  }
  .feed-controls {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .portal-select {
    width: 100%;
  }
  .feed-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .feed-card {
    padding: 14px;
  }

  /* Splash Screen Mobile */
  .splash-center {
    width: 90%;
    max-width: 360px;
    gap: 12px;
  }
  .splash-logo-wrap {
    width: 170px;
    height: 170px;
  }
  .splash-ring-outer {
    width: 170px;
    height: 170px;
  }
  .splash-ring-middle {
    width: 140px;
    height: 140px;
  }
  .splash-ring-inner {
    width: 110px;
    height: 110px;
  }
  .splash-logo-img {
    width: 80px;
    height: 80px;
  }
  .splash-title {
    font-size: 17px;
    letter-spacing: 2px;
  }
  .splash-subtitle {
    font-size: 9.5px;
    letter-spacing: 1.5px;
  }
  .btn-splash-login {
    font-size: 12px;
    padding: 8px 24px;
  }

  /* Modals on Mobile */
  .login-modal-dialog {
    width: calc(100vw - 24px);
    max-width: 380px;
    margin: 12px auto;
  }
  .login-card-cyber {
    padding: 20px 16px;
  }
  .portal-dossier-dialog {
    width: calc(100vw - 20px);
    max-height: 88vh;
    padding: 18px 14px;
  }
  .dossier-card-head {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
}

/* 480px - Standard Smartphones & iPhone (12/13/14/15/16 Pro, Galaxy S21-S24) */
@media (max-width: 480px) {
  .portal-section {
    padding: 24px 12px;
  }
  .section-title {
    font-size: 17px;
    letter-spacing: 1px;
  }
  .section-desc {
    font-size: 11.5px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .stat-card {
    padding: 10px 10px;
    gap: 8px;
  }
  .stat-icon {
    font-size: 19px;
  }
  .stat-value {
    font-size: 18px;
  }
  .stat-label {
    font-size: 9px;
    line-height: 1.2;
  }
  .pps-summary-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .pps-sum-val {
    font-size: 14px;
  }
  .pps-sum-lbl {
    font-size: 9.5px;
  }
  .pps-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .ticker-label {
    padding: 0 8px;
    font-size: 9px;
    letter-spacing: 1px;
  }
  .ticker-content {
    font-size: 11.5px;
    gap: 40px;
  }
}

/* 360px - Compact Smartphones (iPhone SE, Small Androids) */
@media (max-width: 360px) {
  .nav-brand-text .nav-title {
    font-size: 10px;
    letter-spacing: 0.5px;
  }
  .nav-brand-text .nav-subtitle {
    display: none;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .stat-card {
    padding: 8px;
    gap: 6px;
  }
  .stat-value {
    font-size: 16px;
  }
  .stat-label {
    font-size: 8.5px;
  }
  .pps-summary-row {
    grid-template-columns: 1fr;
  }
}
