/* ==========================================================================
   이정후 (Jung Hoo Lee) #51 - 공식 포트폴리오 스타일시트 (style.css)
   테마: 라이트모드 기본값 (Light Mode Default) + SF 자이언츠 & Leeco 에이전시 브랜딩
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Variables & Theme Definition
   -------------------------------------------------------------------------- */
:root,
[data-theme="light"] {
  /* Brand Colors (SF Giants Orange Main Palette) */
  --giants-orange: #FD5A1E;
  --giants-orange-hover: #E04B14;
  --giants-orange-light: #FF6F36;
  --giants-orange-soft: rgba(253, 90, 30, 0.08);
  --giants-orange-glow: rgba(253, 90, 30, 0.28);

  --burgundy-primary: var(--giants-orange);
  --burgundy-hover: var(--giants-orange-hover);
  --burgundy-light: var(--giants-orange-light);
  --burgundy-soft: var(--giants-orange-soft);
  --burgundy-glow: var(--giants-orange-glow);

  --giants-black: #1A1918;
  --giants-gold: #D99B26;
  --giants-cream: #FAF8F5;

  /* Theme Colors (Light Default) */
  --bg-primary: #F8FAFC;
  --bg-secondary: #FFFFFF;
  --bg-tertiary: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  
  --text-main: #0F172A;
  --text-sub: #475569;
  --text-muted: #94A3B8;
  --text-inverse: #FFFFFF;

  --border-color: #E2E8F0;
  --border-light: #F1F5F9;
  --border-focus: var(--giants-orange);

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 6px 20px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 14px 36px rgba(15, 23, 42, 0.1);
  --shadow-orange: 0 8px 24px var(--giants-orange-glow);
  --shadow-burgundy: 0 8px 24px var(--giants-orange-glow);

  --header-bg: rgba(255, 255, 255, 0.92);
  --table-header-bg: #F8FAFC;
  --table-row-hover: #F8FAFC;
  --canvas-bg: #FFFFFF;
}

[data-theme="dark"] {
  --bg-primary: #0C0D10;
  --bg-secondary: #14161C;
  --bg-tertiary: #1C1F26;
  --bg-card: #161820;
  --bg-card-hover: #1D212B;
  
  --text-main: #F8FAFC;
  --text-sub: #CBD5E1;
  --text-muted: #64748B;
  --text-inverse: #0F172A;

  --border-color: #272B35;
  --border-light: #1F222B;
  --border-focus: var(--giants-orange);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 14px 36px rgba(0, 0, 0, 0.6);
  --shadow-orange: 0 8px 28px rgba(253, 90, 30, 0.35);
  --shadow-burgundy: 0 8px 28px rgba(253, 90, 30, 0.35);

  --header-bg: rgba(20, 22, 28, 0.92);
  --table-header-bg: #1A1D24;
  --table-row-hover: #1C2029;
  --canvas-bg: #14161C;
}

/* --------------------------------------------------------------------------
   2. Reset & Typography
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-orange,
.text-burgundy {
  color: var(--giants-orange) !important;
}

.fw-bold {
  font-weight: 700 !important;
}

.text-center {
  text-align: center;
}

/* --------------------------------------------------------------------------
   3. Buttons & Component Basics
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--giants-orange-light) 0%, var(--giants-orange) 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px var(--giants-orange-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #FF7B47 0%, var(--giants-orange-hover) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(253, 90, 30, 0.45);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--giants-orange);
  color: var(--giants-orange);
  background: var(--giants-orange-soft);
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--bg-tertiary);
  color: var(--text-sub);
}

.btn-ghost:hover {
  background: var(--border-color);
  color: var(--text-main);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: 12px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: 8px;
}

.btn-block {
  width: 100%;
}

/* --------------------------------------------------------------------------
   4. Top Status & Marquee Bar
   -------------------------------------------------------------------------- */
.top-status-bar {
  background-color: var(--giants-black);
  color: #FAF8F5;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 101;
}

.status-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  gap: 16px;
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--giants-orange);
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #22C55E;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #22C55E;
  animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.status-ticker {
  display: flex;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.8rem;
  color: #E2E8F0;
  text-overflow: ellipsis;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ticker-item i {
  color: var(--giants-orange);
}

.ticker-divider {
  color: #64748B;
}

.status-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FAF8F5;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
  background: var(--giants-orange);
  border-color: var(--giants-orange);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   5. Header & Navigation
   -------------------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-num {
  font-family: 'Oswald', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--giants-orange);
  background: linear-gradient(135deg, var(--giants-orange) 0%, #D99B26 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

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

.brand-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-main);
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--giants-orange);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-sub);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--giants-orange);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--giants-orange);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   6. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: 85px 0 105px;
  overflow: hidden;
  background: url('lee_jung_hoo_bg.jpg') center 25% / cover no-repeat;
  border-bottom: 1px solid var(--border-color);
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(11, 15, 25, 0.82) 0%, rgba(15, 23, 42, 0.70) 50%, rgba(11, 15, 25, 0.90) 100%);
  backdrop-filter: blur(1px);
  pointer-events: none;
}

.hero-section .hero-heading {
  color: #FFFFFF !important;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.hero-section .hero-desc {
  color: #E2E8F0 !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.hero-section .tag-leeco {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #F8FAFC !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

.hero-section .quick-stat-box {
  background: rgba(15, 23, 42, 0.65) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(10px);
}

.hero-section .quick-stat-box .q-val:not(.text-orange) {
  color: #FFFFFF !important;
}

.hero-section .quick-stat-box .q-lbl {
  color: #CBD5E1 !important;
}

.hero-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  opacity: 0.03;
  background-image: radial-gradient(var(--text-main) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.hero-tag {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tag-giants {
  background: var(--giants-orange-soft);
  color: var(--giants-orange);
  border: 1px solid rgba(136, 19, 55, 0.25);
}

.tag-no {
  background: var(--giants-black);
  color: #FFFFFF;
  font-family: 'Oswald', sans-serif;
  font-size: 0.88rem;
}

.tag-leeco {
  background: var(--bg-tertiary);
  color: var(--text-sub);
  border: 1px solid var(--border-color);
}

.hero-subheading {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--giants-orange);
  margin-bottom: 8px;
}

.hero-heading {
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  color: var(--text-main);
}

.hero-desc {
  font-size: 1.08rem;
  color: var(--text-sub);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 600px;
}

.hero-btn-group {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 42px;
  flex-wrap: wrap;
}

.hero-btn-group .btn-outline {
  background: #FFFFFF !important;
  color: #0F172A !important;
  border-color: #E2E8F0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.hero-btn-group .btn-outline:hover {
  background: #F8FAFC !important;
  color: var(--burgundy-primary) !important;
  border-color: var(--burgundy-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.hero-quick-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.quick-stat-box {
  display: flex;
  flex-direction: column;
}

.q-val {
  font-family: 'Oswald', 'Inter', sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.1;
}

.q-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   7. Hero Player Card (Visual Area)
   -------------------------------------------------------------------------- */
.player-card-wrapper {
  position: relative;
  perspective: 1000px;
}

.player-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.player-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(136, 19, 55, 0.2);
}

.card-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.league-brand {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--giants-orange);
}

.jersey-num {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-muted);
}

.player-avatar-area {
  position: relative;
  background: linear-gradient(145deg, #1E1E24 0%, #0F0F12 100%);
  border-radius: 18px;
  padding: 44px 20px 36px;
  text-align: center;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
}

.avatar-graphic {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.graphic-rings {
  position: absolute;
  width: 170px;
  height: 170px;
  border: 2px dashed rgba(136, 19, 55, 0.35);
  border-radius: 50%;
  animation: rotate-graphic 30s linear infinite;
}

@keyframes rotate-graphic {
  100% { transform: rotate(360deg); }
}

.graphic-cap {
  font-size: 2.2rem;
  color: var(--giants-orange);
  margin-bottom: 6px;
}

.graphic-number {
  font-family: 'Oswald', sans-serif;
  font-size: 5.5rem;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  text-shadow: 0 4px 18px rgba(136, 19, 55, 0.6);
}

.graphic-slug {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #FAF8F5;
  margin-top: 6px;
}

.floating-badge {
  position: absolute;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  z-index: 3;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.badge-batting {
  bottom: 14px;
  left: 14px;
  background: rgba(136, 19, 55, 0.9);
  color: #FFFFFF;
}

.badge-contact {
  top: 14px;
  right: 14px;
  background: rgba(34, 197, 94, 0.9);
  color: #FFFFFF;
}

.card-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.detail-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.card-player-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
}

.card-player-pos {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: var(--bg-tertiary);
  padding: 12px 16px;
  border-radius: 12px;
}

.d-item {
  display: flex;
  flex-direction: column;
}

.d-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.d-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.card-footer-quote {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-sub);
  line-height: 1.5;
  padding: 8px 12px;
  border-left: 3px solid var(--giants-orange);
  background: var(--giants-orange-soft);
  border-radius: 0 8px 8px 0;
}

.card-footer-quote i {
  color: var(--giants-orange);
  margin-right: 4px;
}

/* --------------------------------------------------------------------------
   8. Section Common Header
   -------------------------------------------------------------------------- */
.section {
  padding: 90px 0;
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  margin-bottom: 48px;
}

.section-header.text-center {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--giants-orange);
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-sub);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   9. About Section & Pillars
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 24px;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(136, 19, 55, 0.4);
}

.bio-card {
  grid-column: span 1;
}

.bio-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--giants-orange-soft);
  color: var(--giants-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.bio-card .card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.bio-card .card-text {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 12px;
}

.bio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.pill-tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  background: var(--bg-tertiary);
  color: var(--giants-orange);
}

.pillar-card {
  display: flex;
  flex-direction: column;
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-tertiary);
  color: var(--giants-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.pillar-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.pillar-desc {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.skill-meter {
  margin-top: auto;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.skill-info strong {
  color: var(--giants-orange);
  font-family: 'Inter', sans-serif;
}

.meter-bar {
  width: 100%;
  height: 8px;
  background: var(--bg-tertiary);
  border-radius: 4px;
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--giants-orange) 0%, #FFA25B 100%);
  border-radius: 4px;
  transition: width 1s ease-in-out;
}

/* --------------------------------------------------------------------------
   10. Career Stats Section
   -------------------------------------------------------------------------- */
.stats-section .section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.stats-filter-tabs {
  display: flex;
  background: var(--bg-tertiary);
  padding: 4px;
  border-radius: 12px;
  gap: 4px;
}

.stats-tab {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--text-sub);
  cursor: pointer;
  transition: all 0.2s ease;
}

.stats-tab.active {
  background: var(--bg-card);
  color: var(--giants-orange);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.metric-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.metric-lbl {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.metric-val {
  font-family: 'Oswald', 'Inter', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-main);
  margin-bottom: 6px;
}

.metric-sub {
  font-size: 0.78rem;
  color: var(--text-sub);
}

.table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 36px;
}

.table-responsive {
  overflow-x: auto;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  font-size: 0.9rem;
}

.custom-table th,
.custom-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.custom-table th {
  background-color: var(--table-header-bg);
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.custom-table th:first-child,
.custom-table td:first-child,
.custom-table th:nth-child(2),
.custom-table td:nth-child(2) {
  text-align: left;
}

.custom-table tbody tr:hover {
  background-color: var(--table-row-hover);
}

.custom-table .highlight-row {
  background-color: var(--giants-orange-soft) !important;
  font-weight: 700;
}

.custom-table .highlight-row td {
  color: var(--giants-orange);
}

.honors-shelf {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 26px;
}

.honors-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.honors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.honor-badge {
  background: var(--bg-tertiary);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  border-left: 3px solid var(--giants-orange);
}

.h-year {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--giants-orange);
  margin-bottom: 6px;
}

.h-info strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 4px;
  color: var(--text-main);
}

.h-info span {
  font-size: 0.78rem;
  color: var(--text-sub);
  line-height: 1.4;
  display: block;
}

/* --------------------------------------------------------------------------
   11. Interactive Batting Analysis Section (Spray Chart Canvas)
   -------------------------------------------------------------------------- */
.analysis-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.spray-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.control-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.control-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-group-sm {
  display: flex;
  background: var(--bg-tertiary);
  padding: 3px;
  border-radius: 8px;
  gap: 4px;
}

.spray-btn {
  padding: 6px 14px;
  border: none;
  background: transparent;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  color: var(--text-sub);
  transition: all 0.2s ease;
}

.spray-btn.active {
  background: var(--bg-card);
  color: var(--giants-orange);
  box-shadow: var(--shadow-sm);
}

.spray-legend {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-sub);
}

.leg-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-single { background-color: #3B82F6; }
.dot-extra { background-color: #10B981; }
.dot-hr { background-color: var(--burgundy-primary); }
.dot-out { background-color: #94A3B8; }

.spray-canvas-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 28px;
  background: var(--canvas-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.03);
}

#sprayCanvas {
  display: block;
  width: 100%;
  height: auto;
  cursor: crosshair;
}

.canvas-overlay-tip {
  text-align: center;
  padding: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px dashed var(--border-color);
  background: var(--bg-tertiary);
}

.spray-stat-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-sum-card {
  background: var(--bg-tertiary);
  padding: 18px 20px;
  border-radius: 14px;
}

.s-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-bottom: 6px;
}

.s-pct {
  display: block;
  font-family: 'Oswald', 'Inter', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 10px;
}

.mini-bar {
  width: 100%;
  height: 6px;
  background: var(--border-color);
  border-radius: 3px;
  overflow: hidden;
}

.mini-fill {
  height: 100%;
  background: var(--giants-orange);
  border-radius: 3px;
}

/* --------------------------------------------------------------------------
   12. Highlights & Moments Section
   -------------------------------------------------------------------------- */
.highlights-section .section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.highlight-tabs {
  display: flex;
  background: var(--bg-tertiary);
  padding: 4px;
  border-radius: 12px;
  gap: 4px;
}

.hl-tab {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--text-sub);
  cursor: pointer;
  transition: all 0.2s ease;
}

.hl-tab.active {
  background: var(--bg-card);
  color: var(--giants-orange);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hl-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
}

.hl-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(136, 19, 55, 0.4);
}

.hl-thumbnail {
  height: 190px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.bg-gradient-1 { background: linear-gradient(135deg, #1E1B18 0%, #881337 100%); }
.bg-gradient-2 { background: linear-gradient(135deg, #0F172A 0%, #2563EB 100%); }
.bg-gradient-3 { background: linear-gradient(135deg, #431407 0%, #D97706 100%); }
.bg-gradient-4 { background: linear-gradient(135deg, #18181B 0%, #EA580C 100%); }
.bg-gradient-5 { background: linear-gradient(135deg, #064E3B 0%, #059669 100%); }
.bg-gradient-6 { background: linear-gradient(135deg, #312E81 0%, #7C3AED 100%); }

.hl-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.hl-score {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(0, 0, 0, 0.5);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
}

.hl-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hl-card:hover .hl-icon {
  transform: scale(1.15);
  background: var(--giants-orange);
}

.hl-info {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.hl-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 8px;
}

.hl-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--text-main);
}

.hl-desc {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   13. Leeco Agency Section (공식 에이전시)
   -------------------------------------------------------------------------- */
.agency-section {
  background: radial-gradient(circle at 10% 50%, rgba(136, 19, 55, 0.05) 0%, transparent 50%);
}

.agency-wrapper {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: flex-start;
}

.agency-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--giants-orange-soft);
  color: var(--giants-orange);
  border: 1px solid rgba(136, 19, 55, 0.25);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.agency-title {
  font-family: 'Oswald', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-main);
  line-height: 1.15;
  margin-bottom: 6px;
}

.agency-subtitle {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--giants-orange);
  margin-bottom: 20px;
}

.agency-text {
  font-size: 0.98rem;
  color: var(--text-sub);
  line-height: 1.75;
  margin-bottom: 16px;
}

.agency-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}

.service-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.service-item i {
  font-size: 1.3rem;
  color: var(--giants-orange);
  margin-top: 3px;
}

.service-item strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 4px;
  color: var(--text-main);
}

.service-item span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.agency-contact-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 18px 22px;
}

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.c-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-sub);
}

.c-line i {
  color: var(--giants-orange);
  width: 16px;
}

/* Agency Form Card */
.agency-form-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.form-header {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.form-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.req {
  color: var(--giants-orange);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-primary);
  color: var(--text-main);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--giants-orange);
  box-shadow: 0 0 0 3px rgba(136, 19, 55, 0.18);
}

.form-privacy-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   14. Fan Zone & Cheer Board
   -------------------------------------------------------------------------- */
.fanzone-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 32px;
  align-items: flex-start;
}

.cheer-input-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 96px;
}

.card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 14px;
}

.card-head h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

.cheer-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sticker-selector {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.sticker-btn {
  padding: 6px 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-primary);
  font-size: 0.8rem;
  cursor: pointer;
  color: var(--text-sub);
  transition: all 0.2s ease;
}

.sticker-btn.active,
.sticker-btn:hover {
  background: var(--giants-orange-soft);
  border-color: var(--giants-orange);
  color: var(--giants-orange);
  font-weight: 700;
}

.cheer-wall-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.wall-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 14px 20px;
}

.wall-count {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.wall-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cheer-cards-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.fan-cheer-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.fan-cheer-card:hover {
  transform: translateY(-2px);
  border-color: rgba(136, 19, 55, 0.35);
}

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

.cheer-author-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cheer-sticker {
  font-size: 1.3rem;
}

.cheer-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
}

.cheer-time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.cheer-text {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.55;
  margin-bottom: 12px;
  flex-grow: 1;
}

.cheer-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-top: 1px dashed var(--border-color);
  padding-top: 8px;
}

.like-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s ease;
}

.like-btn:hover,
.like-btn.liked {
  color: #EF4444;
}

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--giants-black);
  color: #FAF8F5;
  padding: 60px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.f-num {
  font-family: 'Oswald', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--giants-orange);
}

.f-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #FFFFFF;
}

.footer-desc {
  font-size: 0.85rem;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.social-link:hover {
  background: var(--giants-orange);
  transform: translateY(-3px);
}

.footer-agency-info {
  text-align: right;
}

.footer-agency-info h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: var(--giants-orange);
  margin-bottom: 8px;
}

.footer-agency-info p {
  font-size: 0.82rem;
  color: #94A3B8;
  line-height: 1.6;
}

.footer-agency-info .copyright {
  margin-top: 14px;
  font-size: 0.78rem;
  color: #64748B;
}

/* --------------------------------------------------------------------------
   16. Toast Notifications
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: var(--giants-black);
  color: #FFFFFF;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  border-left: 4px solid var(--giants-orange);
  pointer-events: auto;
  animation: slide-toast 0.3s ease-out forwards;
}

@keyframes slide-toast {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   17. Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .player-card-wrapper {
    max-width: 480px;
    margin: 0 auto;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bio-card {
    grid-column: span 2;
  }

  .agency-wrapper {
    grid-template-columns: 1fr;
  }

  .honors-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.open {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-heading {
    font-size: 2.3rem;
  }

  .hero-quick-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .bio-card {
    grid-column: span 1;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .fanzone-layout {
    grid-template-columns: 1fr;
  }

  .cheer-cards-list {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-agency-info {
    text-align: center;
  }

  .spray-stat-summary {
    grid-template-columns: 1fr;
  }

  .honors-grid {
    grid-template-columns: 1fr;
  }
}
