:root {
  --bg-beige: #F4EED8;
  --bg-sage: #DCE8CD;
  --color-stroke: #20241A;
  --color-primary: #7EB04B;
  --color-accent: #F5A66B;
  --color-white: #FFFFFF;
  --color-text-muted: #59614E;
  
  --font-heading: 'Baloo 2', cursive, sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --stroke-width: 2.5px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #C7D8B5;
  font-family: var(--font-body);
  color: var(--color-stroke);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
}

/* KANVAS RESUME UTAMA */
.resume-canvas {
  width: 100%;
  max-width: 1050px;
  background-color: var(--bg-sage);
  border: var(--stroke-width) solid var(--color-stroke);
  display: grid;
  grid-template-columns: 290px 1fr auto 1fr;
  overflow: hidden;
  box-shadow: 6px 6px 0px var(--color-stroke);
}

/* PANEL & PADDING */
.panel {
  padding: 28px 24px;
}

.panel-left {
  background-color: var(--bg-beige);
  border-right: var(--stroke-width) solid var(--color-stroke);
}

.panel-center {
  background-color: var(--bg-sage);
}

.panel-right {
  background-color: var(--bg-sage);
}

/* PEMBATAS VERTIKAL GARIS PUTUS-PUTUS */
.dashed-divider {
  width: 0;
  border-left: 2px dashed var(--color-stroke);
  margin: 20px 0;
}

/* AVATAR BOX & SPEECH BUBBLE */
.avatar-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.speech-bubble {
  position: relative;
  background: var(--bg-beige);
  border: var(--stroke-width) solid var(--color-stroke);
  border-radius: 18px;
  padding: 4px 16px;
  margin-bottom: 10px;
  z-index: 2;
}

.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: var(--bg-beige);
  border-right: var(--stroke-width) solid var(--color-stroke);
  border-bottom: var(--stroke-width) solid var(--color-stroke);
  transform: rotate(45deg);
}

.bubble-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.05em;
}

.avatar-frame {
  width: 190px;
  height: 190px;
  background: var(--color-white);
  border: var(--stroke-width) solid var(--color-stroke);
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doodle-avatar {
  width: 100%;
  height: 100%;
}

/* SECTION TITLES DENGAN UNDERLINE */
.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  line-height: 1;
  display: inline-block;
  margin-bottom: 12px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 2px;
  margin-top: 4px;
}

/* BIO TABLE */
.bio-table {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%; 
}

.bio-row {
  display: flex;
  align-items: center; 
  width: 100%;
}

.bio-key {
  width: 75px;      
  flex-shrink: 0;     
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 14px;
}

.bio-value.chip {
  flex: 1;           
  background-color: var(--color-white);
  border: 1.5px solid var(--color-stroke);
  border-radius: 12px;
  padding: 6px 12px;
  font-weight: 600;
  font-size: 12px;
  word-break: break-word; 
}

.chip {
  background-color: var(--color-white);
  border: 1.5px solid var(--color-stroke);
  border-radius: 12px;
  padding: 3px 10px;
  font-weight: 600;
  font-size: 11px;
}

/* TIMELINE & LISTS */
.block-group {
  margin-bottom: 20px;
}

.timeline-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.timeline-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.timeline-list .year {
  font-weight: 700;
  min-width: 78px;
  font-size: 11px;
}

.timeline-list.dense li {
  font-size: 11px;
}

.text-only {
  font-weight: 600;
}

/* SKILLS METERS */
.skills-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-tech {
  width: 60px;
  height: 28px;
  background: var(--bg-sage);
  border: var(--stroke-width) solid var(--color-stroke);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 12px;
}

.progress-track {
  flex: 1;
  height: 16px;
  background: var(--color-white);
  border: var(--stroke-width) solid var(--color-stroke);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background-color: var(--color-accent);
  border-right: var(--stroke-width) solid var(--color-stroke);
  border-radius: 999px 0 0 999px;
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* HOBBY MATRIX */
.hobby-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.hobby-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hobby-icon {
  width: 28px;
  height: 28px;
  transition: transform 0.2s ease;
}

.hobby-card:hover .hobby-icon {
  transform: scale(1.15) rotate(-5deg);
}

.hobby-label {
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-heading);
}

/* RADAR CHART */
.radar-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.radar-center-label {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  line-height: 1;
  pointer-events: none;
}

.radar-center-label strong {
  font-size: 13px;
  color: var(--color-stroke);
}

.radar-center-label span {
  font-size: 9px;
  color: var(--color-text-muted);
}

/* RESPONSIVE BREAKPOINT (TABLET & MOBILE) */
@media (max-width: 860px) {
  .resume-canvas {
    grid-template-columns: 1fr;
    box-shadow: 4px 4px 0px var(--color-stroke);
  }

  .panel-left {
    border-right: none;
    border-bottom: var(--stroke-width) solid var(--color-stroke);
  }

  .dashed-divider {
    display: none;
  }

  .panel-center {
    border-bottom: 2px dashed var(--color-stroke);
  }
}