/* ===================================================
   정민교 마케터 포트폴리오 - 정돈된 키치 (Refined Kitsch) CSS
   Principles: Frontend-Design & Theme-Factory Skill Guideline
   =================================================== */

:root {
  /* 정제된 키치 컬러 토큰 (4-6 Hex System) */
  --bg-primary: #FAF7F2;
  --bg-warm: #F4EFE6;
  --bg-card: #FFFFFF;
  
  --color-dark: #191A1C;
  --color-muted: #5A5D62;
  --color-border: #191A1C;

  --c-yellow: #FFDE59;
  --c-yellow-light: #FFF8D6;
  --c-pink: #FF6E8D;
  --c-pink-light: #FFE8EE;
  --c-mint: #38D9A9;
  --c-mint-light: #E6FCF5;
  --c-purple: #9775FA;
  --c-purple-light: #F3F0FF;
  --c-blue: #4DABF7;
  --c-blue-light: #E7F5FF;

  --border-std: 2px solid var(--color-border);
  --shadow-std: 4px 4px 0px var(--color-border);
  --shadow-hover: 1px 1px 0px var(--color-border);
  --radius-std: 14px;
  --radius-pill: 999px;

  --font-base: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  --font-heading: 'Fredoka', 'Pretendard', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--color-dark);
  font-family: var(--font-base);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  background-image: radial-gradient(#dfd8cb 1.1px, transparent 1.1px);
  background-size: 20px 20px;
}

/* ===================================================
   공통 컨테이너 및 섹션
   =================================================== */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}

.bg-warm {
  background-color: var(--bg-warm);
  border-top: var(--border-std);
  border-bottom: var(--border-std);
}

.section-title-wrap {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}

.section-tag {
  display: inline-block;
  background: var(--c-yellow);
  color: var(--color-dark);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 4px 14px;
  border: var(--border-std);
  border-radius: var(--radius-pill);
  box-shadow: 2px 2px 0px var(--color-border);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.tag-game {
  background: var(--c-pink);
  color: #fff;
}

.section-heading {
  font-size: 2.3rem;
  font-weight: 900;
  letter-spacing: -0.8px;
  line-height: 1.3;
  margin-bottom: 10px;
}

.section-sub {
  font-size: 1.08rem;
  color: var(--color-muted);
}

/* ===================================================
   버튼 시스템 (단정하고 촉감 좋은 네오 브루탈)
   =================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 24px;
  border: var(--border-std);
  border-radius: 12px;
  box-shadow: var(--shadow-std);
  cursor: pointer;
  text-decoration: none;
  color: var(--color-dark);
  transition: all 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
  user-select: none;
}

.btn:hover {
  transform: translate(3px, 3px);
  box-shadow: var(--shadow-hover);
}

.btn-primary { background: var(--c-yellow); }
.btn-accent { background: var(--c-pink); color: #fff; }
.btn-outline { background: #fff; }
.btn-detail {
  width: 100%;
  background: var(--c-yellow-light);
  font-size: 0.95rem;
  padding: 10px;
  margin-top: 16px;
}
.btn-detail:hover { background: var(--c-yellow); }

.btn-small {
  padding: 6px 14px;
  font-size: 0.85rem;
  border-radius: 8px;
}

/* 뱃지 */
.badge {
  display: inline-block;
  padding: 5px 12px;
  border: var(--border-std);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 2px 2px 0px var(--color-border);
}

.badge-yellow { background: var(--c-yellow); }
.badge-pink { background: var(--c-pink-light); }
.badge-mint { background: var(--c-mint-light); }
.badge-fire { background: #FF5A5F; color: #fff; }
.badge-ai { background: var(--c-purple); color: #fff; }
.badge-video { background: var(--c-mint); color: #000; }

/* ===================================================
   헤더 & 네비게이션
   =================================================== */
.header-wrap {
  position: sticky;
  top: 16px;
  z-index: 100;
  padding: 0 20px;
}

.navbar {
  max-width: 1120px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: var(--border-std);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-std);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 800;
}

.brand-pill {
  background: var(--c-yellow);
  border: 1.5px solid var(--color-border);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  color: var(--color-dark);
}

.brand-sub {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.nav-menu {
  display: flex;
  gap: 16px;
}

.nav-item {
  text-decoration: none;
  color: var(--color-dark);
  font-weight: 700;
  font-size: 0.93rem;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  transition: all 0.15s ease;
}

.nav-item:hover {
  background: var(--c-yellow-light);
}

.nav-highlight {
  background: var(--c-pink-light);
  color: #D61A5C;
}

.btn-nav {
  padding: 8px 18px;
  font-size: 0.9rem;
  background: var(--c-mint);
  border-radius: var(--radius-pill);
}

/* ===================================================
   1. 히어로 섹션 (정돈된 키치)
   =================================================== */
.hero-section {
  padding: 60px 0 80px;
}

.hero-intro {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 52px;
}

.kitsch-tag-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-headline {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: -1.2px;
  line-height: 1.25;
  margin-bottom: 20px;
}

.mark-word {
  display: inline-block;
  padding: 2px 12px;
  border: var(--border-std);
  border-radius: 10px;
  box-shadow: 3px 3px 0px var(--color-border);
}

.mark-yellow {
  background: var(--c-yellow);
  transform: rotate(-1deg);
}

.mark-name {
  color: var(--c-pink);
  text-decoration: underline wavy var(--c-yellow);
  text-underline-offset: 8px;
}

.hero-lead {
  font-size: 1.15rem;
  color: #333;
  line-height: 1.75;
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* 벤토 그리드 */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-card {
  background: var(--bg-card);
  border: var(--border-std);
  border-radius: var(--radius-std);
  padding: 28px 24px;
  box-shadow: var(--shadow-std);
  transition: all 0.2s ease;
}

.bento-card:hover {
  transform: translateY(-3px);
  box-shadow: 6px 6px 0px var(--color-border);
}

.bento-yellow { background: #FFFDF0; }
.bento-purple { background: #F8F5FF; }
.bento-mint { background: #F0FCF8; }

.bento-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.bento-icon { font-size: 2rem; }

.bento-label {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.75rem;
  background: #fff;
  border: 1.5px solid var(--color-border);
  padding: 2px 8px;
  border-radius: 6px;
}

.bento-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.bento-card p {
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ===================================================
   2. 소개 및 스토리 섹션 (정돈된 그리드)
   =================================================== */
.story-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.story-card {
  background: var(--bg-card);
  border: var(--border-std);
  border-radius: var(--radius-std);
  padding: 30px 24px;
  box-shadow: var(--shadow-std);
  display: flex;
  flex-direction: column;
}

.story-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--c-pink);
  line-height: 1;
  margin-bottom: 12px;
}

.story-category {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  background: var(--c-yellow);
  padding: 2px 8px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  margin-bottom: 10px;
}

.story-content h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.45;
}

.story-content p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.7;
}

/* ===================================================
   3. 스킬셋 인벤토리
   =================================================== */
.skills-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.skill-box {
  background: var(--bg-card);
  border: var(--border-std);
  border-radius: var(--radius-std);
  padding: 26px;
  box-shadow: var(--shadow-std);
}

.skill-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1.5px dashed #e5e5e5;
}

.skill-icon { font-size: 1.6rem; }
.skill-header h4 { font-size: 1.2rem; font-weight: 800; }

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 6px 14px;
  background: #F4F5F7;
  border: 1.5px solid #D1D5DB;
  border-radius: var(--radius-pill);
  color: #333;
}

.chip-main {
  background: var(--c-yellow-light);
  border-color: var(--color-border);
  font-weight: 800;
  color: var(--color-dark);
}

/* ===================================================
   4. 대표 프로젝트 4선
   =================================================== */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.filter-tab {
  background: #fff;
  border: var(--border-std);
  border-radius: var(--radius-pill);
  padding: 8px 20px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  box-shadow: 2px 2px 0px var(--color-border);
  transition: all 0.15s ease;
}

.filter-tab.active, .filter-tab:hover {
  background: var(--c-yellow);
  transform: translate(2px, 2px);
  box-shadow: 0px 0px 0px var(--color-border);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.project-item {
  background: var(--bg-card);
  border: var(--border-std);
  border-radius: var(--radius-std);
  overflow: hidden;
  box-shadow: var(--shadow-std);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-item:hover {
  transform: translateY(-4px);
  box-shadow: 6px 6px 0px var(--color-border);
}

.project-badge-bar {
  padding: 12px 20px;
  border-bottom: 2px solid var(--color-border);
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status-badge {
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 10px;
  border: 1.5px solid var(--color-border);
  border-radius: 6px;
}

.author-badge {
  font-size: 0.8rem;
  color: #666;
  font-weight: 600;
}

.project-visual {
  height: 160px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: var(--border-std);
}

.bg-jellycat { background: linear-gradient(135deg, #FFE5EC, #FFF3D6); }
.bg-snuggle  { background: linear-gradient(135deg, #E0F2FE, #BAE6FD); }
.bg-kitox    { background: linear-gradient(135deg, #D3F9D8, #B2F2BB); }
.bg-ktm      { background: linear-gradient(135deg, #FFF9DB, #FFE066); }

.visual-deco-icons {
  display: flex;
  gap: 16px;
  font-size: 3.5rem;
}

.visual-single-icon {
  font-size: 4rem;
}

.visual-label {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: rgba(25, 26, 28, 0.88);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
}

.project-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-date {
  font-size: 0.82rem;
  color: #777;
  font-weight: 600;
  margin-bottom: 6px;
}

.project-name {
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 10px;
  line-height: 1.35;
}

.project-desc {
  font-size: 0.94rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.project-meta-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.project-meta-tags span {
  font-size: 0.78rem;
  font-weight: 700;
  color: #555;
  background: #f1f3f5;
  padding: 3px 8px;
  border-radius: 4px;
}

/* ===================================================
   5. ★ 마케팅 인터랙티브 플레이존 ★
   =================================================== */
.playground-section {
  background: #FFFDF8;
}

.game-nav-tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.game-tab-btn {
  background: #fff;
  border: var(--border-std);
  border-radius: 14px;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow-std);
  transition: all 0.15s ease;
}

.game-tab-btn.active, .game-tab-btn:hover {
  background: var(--c-pink-light);
  border-color: var(--color-border);
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-hover);
}

.game-panel {
  display: none;
}

.game-panel.active {
  display: block;
}

.panel-card {
  background: #fff;
  border: var(--border-std);
  border-radius: 18px;
  padding: 40px;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: 6px 6px 0px var(--color-border);
  text-align: center;
}

.game-badge {
  display: inline-block;
  background: var(--c-purple);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 4px 12px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-pill);
  box-shadow: 2px 2px 0px var(--color-border);
  margin-bottom: 14px;
}

.panel-card h3 {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.game-intro-text {
  font-size: 1.02rem;
  color: var(--color-muted);
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

/* 게임 1: 12지신 운세 카드 */
.fortune-slot-machine {
  background: #FFFBF0;
  border: var(--border-std);
  border-radius: 16px;
  padding: 32px 24px;
  max-width: 540px;
  margin: 0 auto 28px;
  box-shadow: 4px 4px 0px var(--color-border);
}

.fortune-circle-icon {
  font-size: 4.5rem;
  margin-bottom: 8px;
  display: inline-block;
  filter: drop-shadow(2px 2px 0px rgba(0,0,0,0.15));
}

.fortune-title-name {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--color-dark);
  margin-bottom: 10px;
}

.fortune-main-quote {
  font-size: 1.08rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 16px;
  line-height: 1.55;
}

.fortune-action-badge {
  font-size: 0.92rem;
  background: #fff;
  border: 1.5px dashed var(--color-border);
  padding: 10px 16px;
  border-radius: 10px;
  color: #333;
  line-height: 1.5;
}

/* 게임 2: A/B 테스트 퀴즈 */
.quiz-container {
  max-width: 620px;
  margin: 0 auto;
  text-align: left;
}

.quiz-progress-bar {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: var(--color-muted);
  padding-bottom: 10px;
  border-bottom: 1.5px dashed #e0e0e0;
}

.quiz-question-box {
  background: #F8F9FA;
  border: var(--border-std);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 3px 3px 0px var(--color-border);
}

.quiz-brand-tag {
  display: inline-block;
  background: var(--c-yellow);
  border: 1px solid var(--color-border);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.quiz-question-box h4 {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.45;
}

.quiz-options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.quiz-btn {
  background: #fff;
  border: var(--border-std);
  border-radius: 12px;
  padding: 16px 20px;
  text-align: left;
  cursor: pointer;
  box-shadow: 3px 3px 0px var(--color-border);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.15s ease;
}

.quiz-btn:hover {
  background: #FFFDF0;
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0px var(--color-border);
}

.opt-label {
  background: var(--color-dark);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.9rem;
}

.opt-text {
  font-size: 0.98rem;
  font-weight: 600;
  color: #333;
}

.quiz-result-feedback {
  margin-top: 24px;
  background: #F0FCF8;
  border: var(--border-std);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 3px 3px 0px var(--color-border);
}

.feedback-badge {
  font-weight: 900;
  font-size: 1.1rem;
  color: #0CA678;
  margin-bottom: 8px;
}

.feedback-desc {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* 게임 3: AI 프롬프트 자판기 */
.vending-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  align-items: flex-end;
}

.select-group {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 6px;
}

.select-group label {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-dark);
}

.vending-select {
  padding: 10px 14px;
  border: var(--border-std);
  border-radius: 10px;
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 0.92rem;
  background: #fff;
  box-shadow: 3px 3px 0px var(--color-border);
  outline: none;
  cursor: pointer;
}

.vending-output-box {
  background: #1E2022;
  color: #F8F9FA;
  border: var(--border-std);
  border-radius: 14px;
  padding: 24px;
  text-align: left;
  box-shadow: 5px 5px 0px var(--color-border);
}

.output-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #3A3D42;
}

.output-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--c-yellow);
}

.output-code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9rem;
  white-space: pre-wrap;
  word-break: break-all;
  line-height: 1.6;
  color: #E9ECEF;
  margin-bottom: 16px;
}

.output-tip {
  font-size: 0.85rem;
  background: #2B2D31;
  padding: 8px 12px;
  border-radius: 6px;
  color: #ADB5BD;
}

/* ===================================================
   6. 타임라인 섹션 (정돈된 클린 타임라인)
   =================================================== */
.clean-timeline {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.timeline-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: start;
}

.t-date-col {
  text-align: right;
  padding-top: 14px;
}

.t-date {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--color-dark);
}

.t-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  background: #E9ECEF;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 4px;
}

.t-badge.badge-now {
  background: var(--c-pink);
  color: #fff;
}

.t-card {
  background: var(--bg-card);
  border: var(--border-std);
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 3px 3px 0px var(--color-border);
}

.t-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.t-sub {
  font-size: 0.92rem;
  font-weight: 700;
  color: #555;
  margin-bottom: 8px;
}

.t-card p {
  font-size: 0.92rem;
  color: #444;
  line-height: 1.6;
}

/* ===================================================
   7. 푸터 및 컨택트
   =================================================== */
.footer-wrap {
  padding: 70px 0 90px;
}

.footer-card {
  background: var(--c-yellow-light);
  border: var(--border-std);
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: 6px 6px 0px var(--color-border);
}

.footer-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}

.footer-header h2 {
  font-size: 2.1rem;
  font-weight: 900;
  margin: 12px 0 10px;
}

.footer-header p {
  font-size: 1.02rem;
  color: #444;
}

.contact-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.c-link-card {
  background: #fff;
  border: var(--border-std);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 3px 3px 0px var(--color-border);
  cursor: pointer;
  position: relative;
  transition: all 0.15s ease;
}

.c-link-card:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0px var(--color-border);
}

.c-icon { font-size: 1.8rem; }

.c-text {
  display: flex;
  flex-direction: column;
}

.c-label {
  font-size: 0.75rem;
  color: #777;
  font-weight: 700;
}

.c-val {
  font-size: 0.98rem;
  font-weight: 800;
}

.c-btn-hint {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 0.7rem;
  color: #888;
  background: #f0f0f0;
  padding: 2px 6px;
  border-radius: 4px;
}

.footer-copy {
  text-align: center;
  border-top: 1.5px dashed #D6CFBE;
  padding-top: 24px;
  font-size: 0.88rem;
  color: #666;
}

.footer-skills-info {
  font-size: 0.8rem;
  color: #888;
  margin-top: 4px;
}

/* ===================================================
   모달 팝업 & 토스트
   =================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-backdrop.active {
  display: flex;
}

.modal-box {
  background: #fff;
  border: var(--border-std);
  border-radius: 18px;
  width: 100%;
  max-width: 740px;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  padding: 36px 32px;
  box-shadow: 8px 8px 0px var(--color-border);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: var(--c-pink);
  color: #fff;
  border: var(--border-std);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  font-size: 1.2rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 2px 2px 0px var(--color-border);
  transition: all 0.1s ease;
}

.modal-close:hover {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0px var(--color-border);
}

.modal-section-block {
  margin-bottom: 22px;
}

.modal-section-block h4 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.modal-section-block p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.7;
}

.modal-section-block ul {
  padding-left: 20px;
  margin-top: 8px;
}

.modal-section-block li {
  font-size: 0.93rem;
  color: #444;
  line-height: 1.65;
  margin-bottom: 6px;
}

.insight-highlight-box {
  background: #FFF9DB;
  border-left: 4px solid var(--c-yellow);
  padding: 12px 16px;
  font-weight: 800;
  font-size: 1rem;
  margin: 12px 0;
}

/* 토스트 노티스 */
.toast-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--color-dark);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  z-index: 2000;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

.toast-bar.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ===================================================
   반응형 미디어 쿼리 (모바일 & 태블릿)
   =================================================== */
@media (max-width: 900px) {
  .hero-headline { font-size: 2.3rem; }
  .bento-grid { grid-template-columns: 1fr; }
  .story-bento { grid-template-columns: 1fr; }
  .skills-card-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .timeline-row { grid-template-columns: 1fr; gap: 8px; }
  .t-date-col { text-align: left; }
  .contact-links-grid { grid-template-columns: 1fr; }
  .nav-menu { display: none; }
  .panel-card { padding: 24px 16px; }
  .vending-controls { flex-direction: column; align-items: stretch; }
}
