/* ==========================================================================
   Byun Kang-won's Resume CSS - Minimalist Premium Editorial Theme
   ========================================================================== */

/* Theme Variables */
:root {
  /* Fonts */
  --font-heading: 'Playfair Display', 'Lora', 'Noto Sans KR', serif;
  --font-body: 'Inter', 'Noto Sans KR', sans-serif;
  
  --transition-speed: 0.3s;
  
  /* Minimalist Flat Corners */
  --border-radius-lg: 0px;
  --border-radius-md: 0px;
  --border-radius-sm: 0px;
}

/* Dark Theme Variables (Default) */
.dark-theme {
  --bg-primary: #121212;         /* Deep Charcoal */
  --bg-secondary: #1a1a1a;       /* Card Background */
  --bg-card: #181818;
  
  --text-primary: #f5f5f5;       /* Warm Off-white */
  --text-secondary: #a0a0a0;     /* Muted Grey */
  --text-muted: #666666;
  
  --accent-primary: #c5a880;     /* Classic Champagne Gold */
  --accent-secondary: #9e8259;   /* Muted Bronze */
  --accent-glow: rgba(197, 168, 128, 0.1);
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(197, 168, 128, 0.4);
  
  --badge-bg: #222222;
  --badge-border: rgba(255, 255, 255, 0.1);
  --badge-text: #c5a880;
  
  --inner-box-bg: #1e1e1e;
  --inner-box-bg-hover: #242424;
}

/* Light Theme Variables */
.light-theme {
  --bg-primary: #faf9f6;         /* Editorial Fine Paper Off-white */
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  
  --text-primary: #1c1a17;       /* Soft Charcoal Ink */
  --text-secondary: #5a554e;     /* Warm Muted Ink */
  --text-muted: #9c958b;
  
  --accent-primary: #7c6441;     /* Warm Bronze Gold (Darkened for contrast) */
  --accent-secondary: #5a4527;   /* Deep Bronze */
  --accent-glow: rgba(124, 100, 65, 0.1);
  
  --border-color: rgba(28, 26, 23, 0.08);
  --border-highlight: rgba(124, 100, 65, 0.4);
  
  --badge-bg: #f3f1eb;
  --badge-border: rgba(28, 26, 23, 0.1);
  --badge-text: #7c6441;
  
  --inner-box-bg: #fcfbf9;
  --inner-box-bg-hover: #f5f3ee;
}

/* Global Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.8;
  transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ==========================================================================
   EDITORIAL GRID LAYOUT
   ========================================================================== */
.bento-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-gap: 2.5rem; /* Maximize spacing */
}

/* Flat & Editorial Card styles */
.bento-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-lg);
  padding: 3rem; /* Increase padding */
  border: 1px solid var(--border-color);
  transition: border-color var(--transition-speed) ease, background-color var(--transition-speed) ease;
  overflow: hidden;
  box-shadow: none; /* Remove shadow */
}

.bento-card:hover {
  border-color: var(--border-highlight);
}

/* Column Spanning */
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

/* Section & Card Title styling */
.card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  position: relative;
  display: flex;
  align-items: center;
}

.card-title::after {
  content: '';
  height: 1px;
  background-color: var(--border-color);
  flex-grow: 1;
  margin-left: 1.5rem;
}

/* ==========================================================================
   BOX 1: HERO PROFILE CARD
   ========================================================================== */
.hero-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--bg-card);
}

.profile-header-group {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.avatar-glow {
  width: 64px;
  height: 64px;
  background-color: transparent;
  color: var(--accent-primary);
  border: 1px solid var(--accent-primary);
  font-size: 1.5rem;
  font-weight: 400;
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.name-meta {
  display: flex;
  flex-direction: column;
}

.hero-name {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  background: none;
  -webkit-text-fill-color: initial;
}

.hero-title {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--accent-primary);
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-family: var(--font-body);
  margin-top: 0.2rem;
}

.divider-glow {
  height: 1px;
  background: var(--border-color);
  margin-bottom: 2rem;
}

.meta-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.meta-grid li {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.meta-link {
  color: var(--text-secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color var(--transition-speed) ease;
}

.meta-link:hover {
  color: var(--accent-primary);
}

.meta-icon {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.meta-link:hover .meta-icon {
  color: var(--accent-primary);
}

/* ==========================================================================
   BOX 2: BIO INTRO CARD
   ========================================================================== */
.intro-card {
  position: relative;
}

.quote-decorator {
  position: absolute;
  top: 1rem;
  right: 3rem;
  font-size: 6rem;
  font-family: var(--font-heading);
  line-height: 1;
  color: var(--accent-primary);
  opacity: 0.15;
  user-select: none;
  pointer-events: none;
}

.bio-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.85;
  color: var(--text-primary);
  margin-bottom: 3rem;
  text-align: justify;
  font-weight: 300;
}

.bio-text strong {
  color: var(--accent-primary);
  font-weight: 500;
}

.bio-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stat-item {
  background-color: transparent;
  border-left: 1px solid var(--border-color);
  padding: 0 0 0 1.5rem;
  text-align: left;
  border-top: none;
  border-right: none;
  border-bottom: none;
  border-radius: 0;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 400;
  display: block;
  color: var(--accent-primary);
  line-height: 1.1;
  margin-bottom: 0.5rem;
  background: none;
  -webkit-text-fill-color: initial;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ==========================================================================
   BOX 3: SKILLS CARD
   ========================================================================== */
.skill-category {
  margin-bottom: 2.5rem;
}

.skill-category h3 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.skill-bar-item {
  margin-bottom: 1.5rem;
}

.skill-bar-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.progress-track {
  height: 2px; /* Thin border-style progress tracker */
  background-color: var(--border-color);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--accent-primary);
  box-shadow: none;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background-color: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.4rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 400;
  transition: all var(--transition-speed) ease;
}

.tag:hover {
  transform: none;
  background: var(--accent-primary);
  color: var(--bg-primary);
  border-color: var(--accent-primary);
  box-shadow: none;
}

/* ==========================================================================
   BOX 4: WORK EXPERIENCE TIMELINE (SCROLLABLE)
   ========================================================================== */
.badge-total {
  font-size: 0.75rem;
  background-color: transparent;
  border: 1px solid var(--accent-primary);
  color: var(--accent-primary);
  padding: 0.2rem 0.6rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-left: 0.75rem;
  vertical-align: middle;
}

.static-timeline {
  padding-left: 8px;
  padding-right: 1.5rem;
}

.exp-timeline-item {
  position: relative;
  padding-left: 2rem;
  border-left: 1px solid var(--border-color);
  margin-bottom: 3rem;
  padding-bottom: 1rem;
}

.exp-timeline-item:last-child {
  margin-bottom: 0;
  border-left-color: transparent;
}

.exp-marker {
  position: absolute;
  top: 6px;
  left: -4.5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  border: 1px solid var(--accent-primary);
  transition: all var(--transition-speed) ease;
}

.exp-timeline-item:hover .exp-marker {
  transform: scale(1.2);
  background-color: var(--accent-primary);
  box-shadow: none;
}

.exp-meta {
  margin-bottom: 1.5rem;
}

.exp-date {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-primary);
  display: block;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.exp-company {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-primary);
}

.exp-position {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.2rem;
}

.exp-project-box {
  background-color: var(--inner-box-bg);
  border: 1px solid var(--border-color);
  padding: 1.75rem;
  position: relative;
  margin-bottom: 1.5rem;
}

.exp-project-box:last-child {
  margin-bottom: 0;
}

.project-role {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  font-size: 0.7rem;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.2rem 0.5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-year {
  display: inline-block;
  font-size: 0.7rem;
  background-color: transparent;
  border: 1px solid var(--accent-primary);
  color: var(--accent-primary);
  padding: 0.2rem 0.5rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.exp-project-box h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--text-primary);
  max-width: 70%;
}

.project-bullets {
  list-style: none;
  padding-left: 0;
}

.project-bullets li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.project-bullets li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-weight: 300;
}

.project-bullets li:last-child {
  margin-bottom: 0;
}

.project-bullets strong {
  color: var(--text-primary);
  font-weight: 500;
}

/* ==========================================================================
   BOX 5: SELF-INTRODUCTION TABS (DYNAMIC CSS TABS)
   ========================================================================== */
.static-cover-letter {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.letter-section h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--accent-primary);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.panel-list {
  list-style: none;
  padding-left: 0;
}

.panel-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.panel-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
}

.panel-list strong {
  color: var(--text-primary);
  font-weight: 500;
}

/* ==========================================================================
   BOX 6: EDUCATION & CERTIFICATIONS CARD
   ========================================================================== */
.vertical-group {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.group-section h3 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.edu-box {
  margin-bottom: 1.5rem;
}

.edu-box:last-child {
  margin-bottom: 0;
}

.edu-year {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-primary);
  display: block;
  margin-bottom: 0.3rem;
  letter-spacing: 0.05em;
}

.edu-box h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
}

.edu-box p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.2rem;
}

.cert-bullets {
  list-style: none;
}

.cert-bullets li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
}

.cert-bullets li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
}

.cert-bullets li strong {
  color: var(--text-primary);
  font-weight: 500;
}

.cert-bullets li span {
  color: var(--text-secondary);
  font-size: 0.75rem;
  margin-top: 0.1rem;
}

/* ==========================================================================
   BOX 7: EXTERNAL ACTIVITIES CARD
   ========================================================================== */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.act-card {
  background-color: var(--inner-box-bg);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color var(--transition-speed) ease;
}

.act-card:hover {
  border-color: var(--border-highlight);
  background-color: var(--inner-box-bg);
}

.act-period {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 0.75rem;
  display: block;
  letter-spacing: 0.05em;
}

.act-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.act-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  text-align: center;
  padding: 5rem 2rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-top: 1px solid var(--border-color);
  max-width: 1200px;
  margin: 0 auto;
}

/* ==========================================================================
   THEME TOGGLE BUTTON
   ========================================================================== */
.theme-toggle-btn {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  width: 48px;
  height: 48px;
  border-radius: 0%; /* Squared minimal theme button */
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  z-index: 100;
  transition: border-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

.theme-toggle-btn:hover {
  transform: none;
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  box-shadow: none;
}

.theme-icon {
  width: 18px;
  height: 18px;
}

.hidden {
  display: none;
}

/* ==========================================================================
   BOX 8: PORTFOLIO CARD
   ========================================================================== */
.portfolio-card {
  grid-column: span 12;
}

.portfolio-item-box {
  background-color: var(--inner-box-bg);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  transition: border-color var(--transition-speed) ease;
}

.portfolio-item-box:hover {
  border-color: var(--border-highlight);
}

.portfolio-meta {
  flex: 1;
}

.portfolio-period {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 0.75rem;
  display: block;
  letter-spacing: 0.05em;
}

.portfolio-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.portfolio-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 800px;
}

.portfolio-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: transparent;
  border: 1px solid var(--accent-primary);
  color: var(--accent-primary);
  padding: 0.8rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-speed) ease;
  white-space: nowrap;
}

.portfolio-btn:hover {
  background-color: var(--accent-primary);
  color: var(--bg-primary);
}

.btn-arrow {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  transition: transform var(--transition-speed) ease;
}

.portfolio-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   BOX 9: CAREER DESCRIPTION CARD (NEW)
   ========================================================================== */
.career-desc-card {
  grid-column: span 12;
}

.desc-company-section {
  margin-bottom: 3.5rem;
}

.desc-company-section:last-child {
  margin-bottom: 0;
}

.desc-company-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
  border-left: 2px solid var(--accent-primary);
  padding-left: 0.75rem;
  line-height: 1.2;
}

.career-desc-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  font-size: 0.85rem;
}

.career-desc-table th, .career-desc-table td {
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--border-color);
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}

.career-desc-table th {
  background-color: var(--inner-box-bg);
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--text-primary);
  width: 25%;
}

.career-desc-table td {
  color: var(--text-secondary);
}

.career-desc-table ul {
  list-style: none;
  padding-left: 0;
}

.career-desc-table ul li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.5rem;
}

.career-desc-table ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
}

.career-desc-table ul li:last-child {
  margin-bottom: 0;
}

.career-desc-table strong {
  color: var(--text-primary);
  font-weight: 500;
}

/* ==========================================================================
   RESPONSIVE LAYOUTS (BREAKPOINTS)
   ========================================================================== */

@media (max-width: 1024px) {
  .bento-container {
    grid-template-columns: repeat(2, 1fr);
    padding: 3rem 1.5rem;
    grid-gap: 2rem;
  }
  
  .hero-card,
  .intro-card,
  .skills-card,
  .edu-cert-card {
    grid-column: span 1;
  }
  
  .experience-card,
  .cover-letter-card,
  .activities-card {
    grid-column: span 2;
  }
  
  .activities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .bento-container {
    grid-template-columns: 1fr;
    padding: 2rem 1rem;
    grid-gap: 1.5rem;
  }
  
  .col-4, .col-5, .col-7, .col-8, .col-12 {
    grid-column: span 1;
  }
  
  .bento-card {
    padding: 2rem;
  }
  
  .activities-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .bio-stat-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .stat-item {
    border-left: 1px solid var(--border-color);
    padding: 0 0 0 1rem;
  }
  
  .stat-num {
    font-size: 1.8rem;
  }
  
  .tab-nav {
    gap: 1rem;
  }
  
  .tab-nav label {
    padding: 0.5rem 0;
    font-size: 0.85rem;
  }
  
  .hero-name {
    font-size: 2.2rem;
  }
  
  .theme-toggle-btn {
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .portfolio-item-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    gap: 1.5rem;
  }
  
  .portfolio-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */
@media print {
  @page {
    size: A4;
    margin: 15mm;
  }
  
  :root, body, .dark-theme, .light-theme {
    --bg-primary: #faf9f6 !important;
    --bg-secondary: #ffffff !important;
    --bg-card: #ffffff !important;
    --text-primary: #1c1a17 !important;
    --text-secondary: #5a554e !important;
    --text-muted: #9c958b !important;
    --accent-primary: #7c6441 !important;
    --accent-secondary: #5a4527 !important;
    --border-color: rgba(28, 26, 23, 0.12) !important;
    --inner-box-bg: #fcfbf9 !important;
    --border-highlight: rgba(124, 100, 65, 0.4) !important;
  }

  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  body {
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    font-size: 9.5pt;
    line-height: 1.6;
    padding: 0;
    margin: 0;
  }
  
  .bento-container {
    display: grid !important;
    grid-template-columns: repeat(12, 1fr) !important;
    grid-gap: 2rem !important;
    width: 100%;
    padding: 0;
    margin: 0;
  }
  
  .bento-card {
    background-color: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    padding: 2rem !important;
    margin-bottom: 2rem !important;
    page-break-inside: avoid;
  }
  
  .hero-name {
    color: var(--text-primary) !important;
    font-size: 2.2rem !important;
  }
  
  .avatar-glow {
    border: 1px solid var(--accent-primary) !important;
    background: transparent !important;
    color: var(--accent-primary) !important;
  }
  
  .progress-track {
    background-color: var(--border-color) !important;
    height: 2px !important;
  }
  
  .progress-bar {
    background: var(--accent-primary) !important;
  }
  
  .tag {
    background-color: transparent !important;
    color: var(--text-secondary) !important;
    border: 1px solid var(--border-color) !important;
    padding: 0.3rem 0.6rem !important;
  }
  
  .exp-timeline-item {
    border-left-color: var(--border-color) !important;
    page-break-inside: avoid;
  }
  
  .exp-marker {
    border-color: var(--accent-primary) !important;
    background-color: var(--bg-secondary) !important;
  }
  
  .static-cover-letter {
    gap: 1.5rem;
  }
  
  .letter-section {
    page-break-inside: avoid;
  }

  .scroll-timeline, .static-timeline {
    max-height: none !important;
    overflow: visible !important;
    padding-right: 0 !important;
  }
  
  .activities-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }
  
  .act-card {
    margin-bottom: 0 !important;
    border: 1px solid var(--border-color) !important;
    padding: 1.25rem !important;
    background-color: var(--inner-box-bg) !important;
    page-break-inside: avoid;
  }
  
  .career-desc-table th, .career-desc-table td {
    border: 1px solid var(--border-color) !important;
    padding: 0.8rem 1rem !important;
  }
  
  .career-desc-table th {
    background-color: var(--inner-box-bg) !important;
    color: var(--text-primary) !important;
  }
  
  .desc-company-section {
    page-break-inside: avoid;
  }
  
  .theme-toggle-btn {
    display: none !important;
  }
  
  .portfolio-btn {
    display: none !important;
  }
  
  .footer {
    border-top: 1px solid var(--border-color) !important;
    margin-top: 2rem;
    padding: 1.5rem 0;
  }
}
