/* ============================================
   KOREA2 THEME — 한옥마을 배경, 문 효과 없음
   korea 테마와 동일하되 히어로만 다름
   ============================================ */

/* korea 변수 그대로 상속 */
[data-theme="korea2"] {
  --bg-dark: #F5F0E6;
  --bg-darker: #FAF6F0;
  --bg-panel: rgba(255, 255, 255, 0.9);
  --crt-bg: rgba(255, 255, 255, 0.92);
  --border-panel: rgba(194, 59, 34, 0.12);
  --cyan: #3B8BCC;
  --red: #C23B22;
  --crimson: #A32E1A;
  --gold: #D4A840;
  --green: #2D7B52;
  --magenta: #B84680;
  --orange: #D4A840;
  --purple: #6B4C8C;
  --text-primary: #2C2420;
  --text-secondary: #7A6E62;
  --text-pixel: #C23B22;
  --speech-bg: rgba(255, 255, 255, 0.96);
  --speech-text: #2C2420;
  --hp-color: #2D7B52;
  --mp-color: #3B8BCC;
  --exp-color: #D4A840;
  --font-pixel: 'Noto Serif KR', 'Space Grotesk', serif;
  --font-body: 'Inter', sans-serif;
  --pixel-size: 2px;
  --panel-radius: 12px;
}

/* --- Body & Background — 한옥마을 배경 전체 적용 --- */
[data-theme="korea2"] body,
body[data-theme="korea2"] {
  background-color: #FAF6F0 !important;
  background-image: none !important;
  color: #2C2420;
}

/* 오버레이 없음 — 배경 선명하게 */
body[data-theme="korea2"]::before {
  content: none;
}

/* --- Remove retro effects --- */
[data-theme="korea2"] .scanline-overlay {
  display: none;
}

/* --- Floating buttons (light theme adaptations) --- */
[data-theme="korea2"] .float-btn {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 10px rgba(194, 59, 34, 0.06);
}
[data-theme="korea2"] .float-cube {
  border-color: rgba(127, 219, 202, 0.5);
  color: #5AAAA0;
}
[data-theme="korea2"] .float-retro {
  border-color: rgba(0, 170, 210, 0.4);
  color: #0099BB;
}
[data-theme="korea2"] .float-ai3 {
  border-color: rgba(0, 180, 50, 0.4);
  color: #00A030;
}
[data-theme="korea2"] .float-korea {
  border-color: rgba(194, 59, 34, 0.4);
  color: #C23B22;
}

[data-theme="korea2"] .float-btn:hover {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

[data-theme="korea2"] .float-btn.active {
  border-color: #C23B22;
  color: #C23B22;
  box-shadow: 0 4px 16px rgba(194, 59, 34, 0.2);
  background: rgba(194, 59, 34, 0.06);
}

[data-theme="korea2"] .float-btn::before {
  background: rgba(44, 36, 32, 0.9);
  color: #fff;
}

/* --- Navigation --- */
[data-theme="korea2"] .game-hud {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(194, 59, 34, 0.1);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

[data-theme="korea2"] .hud-label {
  font-family: 'Noto Serif KR', serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #2C2420;
  letter-spacing: 2px;
  text-shadow: none;
}

[data-theme="korea2"] .hud-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-radius: 20px;
  padding: 6px 16px;
  color: #7A6E62;
}

[data-theme="korea2"] .hud-link:hover {
  color: #C23B22;
  background: rgba(194, 59, 34, 0.06);
}

[data-theme="korea2"] .hud-link.active {
  color: #fff;
  background: linear-gradient(135deg, #C23B22, #D4522E);
  border: none;
  box-shadow: 0 2px 12px rgba(194, 59, 34, 0.25);
}

/* === 히어로 — 영상 배경 + 두루마리 === */

[data-theme="korea2"] .crt-frame {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #000;
  overflow: hidden;
  max-width: none;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 0;
}

[data-theme="korea2"] .crt-frame::before,
[data-theme="korea2"] .crt-frame::after {
  content: none;
}

/* === 영상 배경 === */
.korea2-video,
.korea2-hero-scroll {
  display: none;
}

[data-theme="korea2"] .korea2-video {
  display: block;
  position: absolute;
  top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

/* 영상 위 흰색 오버레이 */
[data-theme="korea2"] .crt-frame::after {
  content: none;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 255, 0.45);
  z-index: 1;
  opacity: 0;
  transition: opacity 1.2s ease-out;
  pointer-events: none;
}

[data-theme="korea2"] .crt-frame.korea2-overlay::after {
  content: '';
  opacity: 1;
}

/* === 두루마리 (CSS scroll design) === */
[data-theme="korea2"] .crt-screen {
  position: relative;
  z-index: 2;
  max-width: 480px;
  width: 85%;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  overflow: visible;
  opacity: 0;
  pointer-events: none;
}

[data-theme="korea2"] .crt-screen.korea2-scroll-visible {
  opacity: 1;
  pointer-events: auto;
  animation: korea2-fade-in 0.8s ease-out forwards;
}

/* 두루마리 펴짐: 콘텐츠 영역 max-height 애니메이션 */
[data-theme="korea2"] .crt-content {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  overflow: hidden;
  transition: none;
}

[data-theme="korea2"] .korea2-scroll-visible .crt-content {
  animation: korea2-unroll 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s forwards;
}

@keyframes korea2-fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes korea2-unroll {
  0% {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  100% {
    max-height: 600px;
    padding-top: 44px;
    padding-bottom: 36px;
    opacity: 1;
  }
}

/* 봉 기본 숨김 */
[data-theme="korea2"] .crt-screen::before,
[data-theme="korea2"] .crt-screen::after {
  content: none;
}

/* 상단 두루마리 봉 (나무 막대) */
[data-theme="korea2"] .crt-screen.korea2-scroll-visible::before {
  content: '';
  display: block;
  width: calc(100% + 40px);
  height: 22px;
  margin-left: -20px;
  margin-bottom: -2px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, #8B6914 0%, #A07828 30%, #6B4E10 70%, #8B6914 100%);
  box-shadow:
    0 3px 10px rgba(0, 0, 0, 0.3),
    inset 0 2px 4px rgba(255, 255, 255, 0.15);
  position: relative;
  z-index: 3;
}

/* 하단 두루마리 봉 */
[data-theme="korea2"] .crt-screen.korea2-scroll-visible::after {
  content: '';
  display: block;
  width: calc(100% + 40px);
  height: 22px;
  margin-left: -20px;
  margin-top: -2px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, #8B6914 0%, #A07828 30%, #6B4E10 70%, #8B6914 100%);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.3),
    inset 0 2px 4px rgba(255, 255, 255, 0.15);
  position: relative;
  z-index: 3;
}

/* 두루마리 본문 (한지 느낌) */
/* 두루마리 본문 — 한지 질감 (padding/opacity는 애니메이션에서 제어) */
[data-theme="korea2"] .korea2-scroll-visible .crt-content {
  position: relative;
  z-index: 2;
  visibility: visible;
  background:
    repeating-linear-gradient(
      0deg,
      transparent, transparent 3px,
      rgba(180, 160, 120, 0.03) 3px, rgba(180, 160, 120, 0.03) 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent, transparent 5px,
      rgba(180, 160, 120, 0.02) 5px, rgba(180, 160, 120, 0.02) 6px
    ),
    linear-gradient(180deg, #F5ECD7 0%, #F0E6C8 50%, #EDE0BB 100%);
  padding-left: 36px;
  padding-right: 36px;
  border-left: 2px solid rgba(160, 130, 80, 0.2);
  border-right: 2px solid rgba(160, 130, 80, 0.2);
  box-shadow:
    inset 0 0 30px rgba(160, 130, 80, 0.08),
    inset 4px 0 12px rgba(0, 0, 0, 0.03),
    inset -4px 0 12px rgba(0, 0, 0, 0.03);
}

/* 단청 상단 라인 제거 — 두루마리에는 안 어울림 */
[data-theme="korea2"] .crt-content::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%, rgba(160, 130, 80, 0.3) 15%,
    rgba(160, 130, 80, 0.15) 50%,
    rgba(160, 130, 80, 0.3) 85%, transparent 100%);
  border-radius: 0;
  z-index: 5;
}

/* 하단 장식선 */
[data-theme="korea2"] .crt-content::after {
  content: '';
  display: block;
  margin: 28px auto 0;
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(160, 130, 80, 0.3), transparent);
}

/* 자식 요소 즉시 표시 */
[data-theme="korea2"] .crt-content > * {
  opacity: 1;
  transform: none;
  animation: none;
}

/* 문고리/아이콘 제거 */
[data-theme="korea2"] .title-art::before,
[data-theme="korea2"] .title-art::after {
  content: none;
}

/* 태극 대신 전통 문양 느낌 */
[data-theme="korea2"] .pixel-hero-sprite {
  width: 70px;
  height: 70px;
}

[data-theme="korea2"] .pixel-hero-sprite::before {
  display: none;
}

[data-theme="korea2"] .pixel-hero-sprite::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid rgba(160, 130, 80, 0.4);
  background:
    radial-gradient(circle 14px at 50% 35%, #C23B22 46%, transparent 48%),
    radial-gradient(circle 14px at 50% 65%, #3B8BCC 46%, transparent 48%),
    linear-gradient(to bottom, #C23B22 50%, #3B8BCC 50%);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

/* 타이포그래피 — 두루마리 위 먹글씨 느낌 */
[data-theme="korea2"] .title-line1 {
  font-family: 'Noto Serif KR', serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 8px;
  color: #6B5D4F;
  text-shadow: none;
}

[data-theme="korea2"] .title-line2 {
  font-family: 'Noto Serif KR', serif;
  font-size: 2.6rem;
  font-weight: 900;
  color: #3A2A1A;
  text-shadow: none;
  letter-spacing: 6px;
  -webkit-text-fill-color: #3A2A1A;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

[data-theme="korea2"] .subtitle {
  font-family: 'Noto Serif KR', serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: #7A6E5A;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  border-right: none;
  overflow: visible;
  white-space: normal;
  max-width: none;
}

[data-theme="korea2"] .press-start {
  font-family: 'Noto Serif KR', serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #A07828;
  letter-spacing: 3px;
  margin-bottom: 24px;
  animation: korea2-pulse 3s ease-in-out infinite;
}

[data-theme="korea2"] .menu-options {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: center;
}

[data-theme="korea2"] .menu-item {
  font-family: 'Noto Serif KR', serif;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 4px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: 1px solid rgba(160, 130, 80, 0.25);
  background: rgba(240, 230, 200, 0.5);
  color: #6B5D4F;
}

[data-theme="korea2"] .menu-item:hover {
  color: #3A2A1A;
  background: rgba(160, 130, 80, 0.1);
  border-color: rgba(160, 130, 80, 0.45);
  transform: translateY(-2px);
  text-shadow: none;
}

[data-theme="korea2"] .menu-item.selected {
  color: #F5ECD7;
  background: linear-gradient(135deg, #6B4E10, #8B6914);
  border-color: transparent;
  box-shadow: 0 3px 12px rgba(107, 78, 16, 0.3);
  text-shadow: none;
}

/* === Hero Typography — korea와 동일 === */
[data-theme="korea2"] .title-art {
  position: relative;
  margin-bottom: 28px;
}

[data-theme="korea2"] .pixel-hero-sprite {
  width: 80px;
  height: 80px;
  position: relative;
}

[data-theme="korea2"] .pixel-hero-sprite::before {
  display: none;
}

[data-theme="korea2"] .pixel-hero-sprite::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background:
    radial-gradient(circle 17px at 50% 30%, #C23B22 48%, transparent 50%),
    radial-gradient(circle 17px at 50% 70%, #3B8BCC 48%, transparent 50%),
    linear-gradient(to bottom, #C23B22 50%, #3B8BCC 50%);
  box-shadow:
    0 4px 20px rgba(194, 59, 34, 0.15),
    0 2px 8px rgba(0, 0, 0, 0.06);
}

[data-theme="korea2"] .game-title {
  margin-bottom: 16px;
}

[data-theme="korea2"] .title-line1 {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 10px;
  color: #7A6E62;
  text-shadow: none;
  text-transform: uppercase;
}

[data-theme="korea2"] .title-line2 {
  font-family: 'Noto Serif KR', serif;
  font-size: 3rem;
  font-weight: 900;
  color: #C23B22;
  text-shadow: none;
  letter-spacing: 8px;
  -webkit-text-fill-color: #C23B22;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

[data-theme="korea2"] .subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: #7A6E62;
  letter-spacing: 0.5px;
  margin-bottom: 28px;
  border-right: none;
  overflow: visible;
  white-space: normal;
  max-width: none;
}

[data-theme="korea2"] .press-start {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #D4A840;
  letter-spacing: 4px;
  margin-bottom: 28px;
  animation: korea2-pulse 3s ease-in-out infinite;
}

@keyframes korea2-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

[data-theme="korea2"] .menu-options {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: center;
  text-align: center;
}

[data-theme="korea2"] .menu-item {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: 1.5px solid rgba(194, 59, 34, 0.15);
  background: rgba(255, 255, 255, 0.6);
  color: #7A6E62;
}

[data-theme="korea2"] .menu-item:hover {
  color: #C23B22;
  background: rgba(194, 59, 34, 0.04);
  border-color: rgba(194, 59, 34, 0.3);
  box-shadow: 0 4px 16px rgba(194, 59, 34, 0.08);
  transform: translateY(-2px);
  text-shadow: none;
}

[data-theme="korea2"] .menu-item.selected {
  color: #fff;
  background: linear-gradient(135deg, #C23B22, #D4522E);
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(194, 59, 34, 0.25);
  text-shadow: none;
}

/* Bottom divider */
[data-theme="korea2"] .crt-content::after {
  content: '';
  display: block;
  margin: 36px auto 0;
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(194, 59, 34, 0.1) 20%, rgba(212, 168, 64, 0.2) 50%, rgba(194, 59, 34, 0.1) 80%, transparent 100%);
  border-radius: 2px;
}

/* --- Section Headers --- */
[data-theme="korea2"] .stage-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #C23B22;
  letter-spacing: 6px;
  text-transform: uppercase;
  text-shadow: none;
}

[data-theme="korea2"] .section-title {
  font-family: 'Noto Serif KR', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #2C2420;
  -webkit-text-fill-color: #2C2420;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  text-shadow: none;
  letter-spacing: 2px;
}

/* --- Category Filter --- */
[data-theme="korea2"] .cat-btn {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 24px;
  padding: 8px 20px;
  border: 1.5px solid rgba(194, 59, 34, 0.12);
  background: rgba(255, 255, 255, 0.7);
  color: #7A6E62;
  letter-spacing: 0;
}

[data-theme="korea2"] .cat-btn:hover {
  color: #C23B22;
  border-color: rgba(194, 59, 34, 0.3);
  background: rgba(255, 255, 255, 0.9);
}

[data-theme="korea2"] .cat-btn.active {
  color: #fff;
  background: linear-gradient(135deg, #C23B22, #D4522E);
  border-color: transparent;
  box-shadow: 0 3px 14px rgba(194, 59, 34, 0.25);
}

/* --- Portfolio Cards --- */
[data-theme="korea2"] .comic-panel,
[data-theme="korea2"] .pf-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(200, 184, 150, 0.15);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

[data-theme="korea2"] .comic-panel:hover,
[data-theme="korea2"] .pf-card:hover {
  border-color: rgba(194, 59, 34, 0.15);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(194, 59, 34, 0.04);
  transform: translateY(-6px);
}

[data-theme="korea2"] .pf-thumb {
  background: linear-gradient(160deg, rgba(194, 59, 34, 0.04), rgba(212, 168, 64, 0.03));
  border-radius: 16px 16px 0 0;
  border-bottom: 1px solid rgba(200, 184, 150, 0.1);
}

[data-theme="korea2"] .pf-thumb.crt-mini {
  background: linear-gradient(160deg, rgba(194, 59, 34, 0.04), rgba(212, 168, 64, 0.03));
}

[data-theme="korea2"] .crt-mini::before {
  display: none;
}

[data-theme="korea2"] .pf-icon {
  filter: none;
  font-size: 2.5rem;
}

[data-theme="korea2"] .pf-badge {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 14px;
  padding: 4px 12px;
  letter-spacing: 0;
}

/* Badge colors */
[data-theme="korea2"] .badge-chatbot { background: linear-gradient(135deg, #3B8BCC, #5AABDD); color: #fff; }
[data-theme="korea2"] .badge-commercial { background: linear-gradient(135deg, #C23B22, #D4522E); color: #fff; }
[data-theme="korea2"] .badge-crm { background: linear-gradient(135deg, #6B4C8C, #8B6CAC); color: #fff; }
[data-theme="korea2"] .badge-landing { background: linear-gradient(135deg, #2D7B52, #3D9B6A); color: #fff; }
[data-theme="korea2"] .badge-automation { background: linear-gradient(135deg, #D4A840, #E0C060); color: #2C2420; }
[data-theme="korea2"] .badge-crawling { background: linear-gradient(135deg, #A32E1A, #C23B22); color: #fff; }
[data-theme="korea2"] .badge-nocode { background: linear-gradient(135deg, #B84680, #D06898); color: #fff; }

[data-theme="korea2"] .pf-title {
  font-family: 'Noto Serif KR', serif;
  font-size: 1rem;
  font-weight: 600;
  color: #2C2420;
  letter-spacing: 0;
  line-height: 1.5;
}

[data-theme="korea2"] .pf-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  line-height: 1.7;
  color: #7A6E62;
}

[data-theme="korea2"] .tag {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  color: #C23B22;
  border: 1px solid rgba(194, 59, 34, 0.15);
  border-radius: 14px;
  padding: 3px 10px;
  background: rgba(194, 59, 34, 0.03);
  letter-spacing: 0;
}

[data-theme="korea2"] .pf-tags .tag {
  font-size: 0.65rem;
}

/* --- Contact Section --- */
[data-theme="korea2"] .speech-bubble {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(200, 184, 150, 0.15);
  border-radius: 16px;
  color: #2C2420;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="korea2"] .speech-bubble::after {
  border-top-color: rgba(255, 255, 255, 0.95);
}

[data-theme="korea2"] .speech-bubble strong {
  color: #C23B22;
}

[data-theme="korea2"] .speech-bubble.npc {
  background: rgba(255, 255, 255, 0.97);
  border-color: rgba(194, 59, 34, 0.1);
}

[data-theme="korea2"] .speech-bubble.npc::after {
  border-top-color: rgba(255, 255, 255, 0.97);
}

[data-theme="korea2"] .npc-name {
  font-family: 'Noto Serif KR', serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #C23B22;
}

[data-theme="korea2"] .save-crystal::before {
  background: linear-gradient(135deg, #C23B22, #D4A840, #2D7B52);
  box-shadow: 0 0 30px rgba(194, 59, 34, 0.2), 0 0 60px rgba(212, 168, 64, 0.1);
  border-radius: 50%;
  animation: korea2-orb-spin 10s linear infinite;
}

@keyframes korea2-orb-spin {
  to { transform: translate(-50%, -50%) rotate(405deg); }
}

[data-theme="korea2"] .save-crystal::after {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
}

[data-theme="korea2"] .rpg-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #C23B22;
  letter-spacing: 1px;
}

[data-theme="korea2"] .rpg-input {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(200, 184, 150, 0.2);
  border-radius: 12px;
  color: #2C2420;
  padding: 14px 18px;
  letter-spacing: 0;
}

[data-theme="korea2"] .rpg-input::placeholder {
  color: #B8AEA0;
}

[data-theme="korea2"] .rpg-input:focus {
  border-color: #C23B22;
  box-shadow: 0 0 16px rgba(194, 59, 34, 0.1);
  background: #fff;
}

[data-theme="korea2"] .pixel-btn {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  background: linear-gradient(135deg, #C23B22, #D4522E);
  color: #fff;
  border-radius: 12px;
  padding: 14px 28px;
  letter-spacing: 1px;
  box-shadow: 0 4px 20px rgba(194, 59, 34, 0.25);
}

[data-theme="korea2"] .pixel-btn:hover {
  box-shadow: 0 8px 32px rgba(194, 59, 34, 0.35);
  transform: translateY(-2px);
}

[data-theme="korea2"] .pixel-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 10px rgba(194, 59, 34, 0.2);
}

[data-theme="korea2"] .pixel-btn.outline {
  background: transparent;
  color: #C23B22;
  border: 1.5px solid rgba(194, 59, 34, 0.2);
  box-shadow: none;
}

[data-theme="korea2"] .pixel-btn.outline:hover {
  background: rgba(194, 59, 34, 0.04);
  box-shadow: 0 2px 12px rgba(194, 59, 34, 0.08);
}

[data-theme="korea2"] .contact-link {
  color: #7A6E62;
}

[data-theme="korea2"] .contact-link:hover {
  color: #C23B22;
}

[data-theme="korea2"] .contact-link span {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0;
}

[data-theme="korea2"] .link-icon {
  border: 1.5px solid rgba(194, 59, 34, 0.12);
  border-radius: 50%;
  background: rgba(194, 59, 34, 0.03);
}

[data-theme="korea2"] .contact-link:hover .link-icon {
  border-color: rgba(194, 59, 34, 0.3);
  box-shadow: 0 2px 12px rgba(194, 59, 34, 0.08);
}

[data-theme="korea2"] .contact-links {
  border-top-color: rgba(200, 184, 150, 0.15);
}

/* --- Footer --- */
[data-theme="korea2"] .game-footer {
  border-top: 1px solid rgba(200, 184, 150, 0.12);
  background: rgba(250, 246, 240, 0.9);
}

[data-theme="korea2"] .game-footer p {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  color: #7A6E62;
  letter-spacing: 1px;
}

[data-theme="korea2"] .game-footer .blink {
  color: #D4A840;
  animation: korea2-pulse 3s ease-in-out infinite;
}

[data-theme="korea2"] .game-footer .crt-mini {
  background: transparent;
}

[data-theme="korea2"] .game-footer .crt-mini::before {
  display: none;
}

/* --- SFX Text --- */
[data-theme="korea2"] .sfx-text {
  display: none;
}

/* --- Narration Box --- */
[data-theme="korea2"] .narration-box {
  background: rgba(194, 59, 34, 0.03);
  border: 1px solid rgba(194, 59, 34, 0.08);
  border-radius: 12px;
}

[data-theme="korea2"] .narration-box::before {
  font-family: 'Inter', sans-serif;
  color: #C23B22;
}

/* --- Scrollbar --- */
[data-theme="korea2"]::-webkit-scrollbar-thumb {
  background: rgba(194, 59, 34, 0.2);
  border-radius: 6px;
  border: 2px solid #FAF6F0;
}

[data-theme="korea2"]::-webkit-scrollbar-thumb:hover {
  background: rgba(194, 59, 34, 0.4);
}

[data-theme="korea2"]::-webkit-scrollbar-track {
  background: #FAF6F0;
  border: none;
}

/* No particle overlay */
[data-theme="korea2"]::after {
  content: none;
}
body[data-theme="korea2"]::after {
  content: none;
}

/* --- Z-INDEX --- */
[data-theme="korea2"] .section,
[data-theme="korea2"] .game-footer {
  position: relative;
  z-index: 1;
}

[data-theme="korea2"] .game-hud {
  z-index: 100;
}

[data-theme="korea2"] .floating-themes {
  z-index: 1001;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  [data-theme="korea2"] .crt-screen {
    max-width: 480px;
  }
  [data-theme="korea2"] .crt-content {
    padding: 40px 32px 36px;
  }
  [data-theme="korea2"] .title-line2 {
    font-size: 2.4rem;
    letter-spacing: 5px;
  }
  [data-theme="korea2"] .title-line1 {
    letter-spacing: 6px;
    font-size: 0.7rem;
  }
  [data-theme="korea2"] .pixel-hero-sprite {
    width: 70px;
    height: 70px;
  }
  [data-theme="korea2"] .pixel-hero-sprite::after {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 600px) {
  [data-theme="korea2"] .crt-screen {
    width: 92%;
  }
  [data-theme="korea2"] .crt-content {
    padding: 28px 20px 24px;
  }
  [data-theme="korea2"] .title-line2 {
    font-size: 1.8rem;
    letter-spacing: 4px;
  }
  [data-theme="korea2"] .title-line1 {
    letter-spacing: 4px;
    font-size: 0.65rem;
  }
  [data-theme="korea2"] .subtitle {
    font-size: 0.75rem;
  }
  [data-theme="korea2"] .menu-options {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
  [data-theme="korea2"] .menu-item {
    width: 200px;
    text-align: center;
  }
  [data-theme="korea2"] .pixel-hero-sprite {
    width: 60px;
    height: 60px;
  }
  [data-theme="korea2"] .pixel-hero-sprite::after {
    width: 50px;
    height: 50px;
  }
}
