/* ==========================================================
   PRAMUKA BERGERAK - Design System & Modern Aesthetics
   Colors: Earth Brown, Nature Green, Warm Gold, Slate
   ========================================================== */

:root {
  --scout-brown-dark: #3E2723;
  --scout-brown-main: #5D4037;
  --scout-brown-light: #8D6E63;
  --scout-green-dark: #1B5E20;
  --scout-green-main: #2E7D32;
  --scout-green-light: #4CAF50;
  --scout-gold: #F59E0B;
  --scout-amber: #D97706;
  --scout-bg: #FDFBF7;
  --scout-surface: #FFFFFF;
  --scout-surface-alt: #F5F0EB;
  --scout-border: #E6DFD5;
  --scout-text-main: #1E293B;
  --scout-text-muted: #64748B;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--scout-bg);
  color: var(--scout-text-main);
  -webkit-font-smoothing: antialiased;
}

/* Glassmorphism Cards */
.scout-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--scout-border);
  border-radius: 1.25rem;
  box-shadow: 0 10px 30px -10px rgba(93, 64, 55, 0.08);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.scout-card:hover {
  box-shadow: 0 15px 35px -10px rgba(93, 64, 55, 0.14);
}

.scout-card-dark {
  background: linear-gradient(145deg, #2E7D32, #1B5E20);
  color: #FFFFFF;
  border-radius: 1.25rem;
  box-shadow: 0 15px 35px -5px rgba(27, 94, 32, 0.35);
}

.scout-card-brown {
  background: linear-gradient(145deg, #5D4037, #3E2723);
  color: #FFFFFF;
  border-radius: 1.25rem;
  box-shadow: 0 15px 35px -5px rgba(62, 39, 35, 0.35);
}

.scout-card-gold {
  background: linear-gradient(145deg, #F59E0B, #D97706);
  color: #FFFFFF;
  border-radius: 1.25rem;
  box-shadow: 0 15px 35px -5px rgba(217, 119, 6, 0.3);
}

/* Scout Gradient Headers */
.scout-gradient-text {
  background: linear-gradient(135deg, #2E7D32 0%, #5D4037 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.scout-gold-text {
  background: linear-gradient(135deg, #F59E0B 0%, #B45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* XP Progress Bar */
.xp-bar-container {
  background: #EFEBE9;
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.08);
}

.xp-bar-fill {
  background: linear-gradient(90deg, #F59E0B, #10B981);
  height: 100%;
  border-radius: 9999px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.xp-bar-fill::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Badge Glow & Micro Interactions */
.badge-glow {
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.badge-glow:hover {
  transform: scale(1.08) rotate(2deg);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.55);
}

/* Scout Buttons */
.btn-scout-primary {
  background: linear-gradient(135deg, #2E7D32, #1B5E20);
  color: #FFFFFF;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 15px rgba(46, 125, 50, 0.25);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-scout-primary:hover {
  background: linear-gradient(135deg, #1B5E20, #144617);
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.35);
  transform: translateY(-1px);
}

.btn-scout-brown {
  background: linear-gradient(135deg, #5D4037, #3E2723);
  color: #FFFFFF;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 15px rgba(93, 64, 55, 0.25);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-scout-brown:hover {
  background: linear-gradient(135deg, #3E2723, #271815);
  box-shadow: 0 6px 20px rgba(93, 64, 55, 0.35);
  transform: translateY(-1px);
}

.btn-scout-gold {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #FFFFFF;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.25);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-scout-gold:hover {
  background: linear-gradient(135deg, #D97706, #B45309);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
  transform: translateY(-1px);
}

/* Mobile Bottom Navigation Bar */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--scout-border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.25rem;
  font-size: 0.7rem;
  font-weight: 500;
  color: #64748B;
  transition: all 0.2s ease;
}

.bottom-nav-item.active {
  color: #2E7D32;
  font-weight: 700;
}

.bottom-nav-item.active .nav-icon-wrap {
  background: #E8F5E9;
  color: #1B5E20;
  transform: translateY(-2px);
}

.nav-icon-wrap {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  margin-bottom: 0.2rem;
  font-size: 1.15rem;
  transition: all 0.2s ease;
}

/* Scrapbook Digital Styling */
.scrapbook-polaroid {
  background: #FFFFFF;
  padding: 12px 12px 24px 12px;
  border-radius: 4px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: rotate(-1.5deg);
  transition: transform 0.3s ease;
}

.scrapbook-polaroid:hover {
  transform: rotate(0deg) scale(1.03);
  z-index: 10;
}

.scrapbook-pin {
  width: 16px;
  height: 16px;
  background: #EF4444;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
}

/* Responsive padding for main content with bottom nav */
@media (max-width: 768px) {
  .main-content-area {
    padding-bottom: 5.5rem;
  }
}

/* Print Styling for Scout CV / Portfolio */
@media print {
  body {
    background: #FFFFFF;
    color: #000000;
  }
  .no-print, .bottom-nav, header, sidebar, .btn-scout-primary {
    display: none !important;
  }
  .scout-card {
    box-shadow: none !important;
    border: 1px solid #CCC !important;
  }
}
