/* ==========================================================================
   TACTICAL COMMANDERS RETRO SF HUD SYSTEM - styles.css
   ========================================================================== */

/* 폰트 정의 (미래지향적 레트로 웹 폰트 및 모노스페이스 선호) */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;700;900&family=Share+Tech+Mono&display=swap');

:root {
  --hud-bg-dark: #070b0c;
  --hud-steel: #111a1d;
  --hud-steel-border: #23343a;
  --hud-panel-bg: rgba(9, 15, 17, 0.88);
  --hud-text-bright: #d4ecee;
  --hud-text-muted: #5e848a;
  --hud-gold: #e2b243;
  --hud-default-accent: #3bf1ff;
  
  /* 4대 세력 등의 역사적 국색과 조화될 수 있는 네온 섀도우 믹스용 */
  --accent: var(--hud-default-accent);
  --shadow-neon: 0 0 15px color-mix(in srgb, var(--accent) 42%, transparent);
  
  font-family: 'Outfit', 'Share Tech Mono', 'D2Coding', 'Consolas', sans-serif;
  color-scheme: dark;
}

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

/* 스스크롤바 커스터마이징 (SF 기계식 스스크롤바) */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--hud-bg-dark);
  border-left: 1px solid var(--hud-steel-border);
}
::-webkit-scrollbar-thumb {
  background: var(--hud-steel-border);
  border-radius: 4px;
  border: 1px solid var(--hud-steel);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--hud-gold);
}

body {
  min-height: 100vh;
  background-color: #030506; /* 양옆 배경을 한층 어둡게 연출하여 모바일 폰 뷰포트 집중성 강화 */
  color: var(--hud-text-bright);
  overflow-x: hidden;
  position: relative;
}

/* 모바일 480px 뷰포트 고정용 컨테이너 */
.app-container {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  min-height: 100vh;
  background-color: var(--hud-panel-bg);
  border-left: 1px solid var(--hud-steel-border);
  border-right: 1px solid var(--hud-steel-border);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.95);
}

.font-mono {
  font-family: 'Share Tech Mono', 'D2Coding', 'Consolas', monospace;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   👾 1. CRT 모니터 효과 & 전술 백그라운드 그리드
   ========================================================================== */

/* CRT 스캔라인 및 노이즈 오버레이 */
.crt-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 255, 0, 0.06));
  background-size: 100% 4px, 6px 100%;
  opacity: 0.65;
}

.crt-overlay::after {
  content: " ";
  display: block;
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(18, 16, 16, 0.1);
  opacity: 0;
  z-index: 10000;
  pointer-events: none;
  animation: crt-flicker 0.15s infinite;
}

/* 우주 전술 그리드 매트릭스 배경 */
.space-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: 
    linear-gradient(var(--hud-steel-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--hud-steel-border) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.18;
  mask-image: radial-gradient(circle, black, transparent 92%);
}

.space-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(2px 2px at 40px 180px, #fff, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 290px 410px, rgba(59, 241, 255, 0.8), rgba(0,0,0,0)),
    radial-gradient(2px 2px at 780px 80px, rgba(226, 178, 67, 0.6), rgba(0,0,0,0)),
    radial-gradient(1px 1px at 1120px 610px, #fff, rgba(0,0,0,0));
  background-repeat: repeat;
  background-size: 1200px 800px;
  opacity: 0.35;
}

/* ==========================================================================
   🎮 2. 전술 헤더 & 시스템 정보 덱 (Diagnostics Deck)
   ========================================================================== */

.tactical-header {
  position: relative;
  z-index: 10;
  background: linear-gradient(180deg, #0e1618 0%, rgba(7, 11, 12, 0.9) 100%);
  border-bottom: 2px solid var(--hud-steel-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
  padding: 15px 0;
}

.header-container {
  width: 100%;
  padding-inline: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.hud-tag {
  font-size: 0.72rem;
  color: var(--hud-gold);
  border: 1px solid rgba(226, 178, 67, 0.3);
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(226, 178, 67, 0.05);
  display: inline-block;
  margin-bottom: 6px;
  text-shadow: 0 0 5px rgba(226, 178, 67, 0.4);
}

.logo-title {
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--hud-text-bright);
  background: linear-gradient(135deg, #fff 30%, #a4cfd2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(212, 236, 238, 0.25);
  line-height: 1.1;
}

.logo-subtitle {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.82rem;
  color: var(--hud-text-muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* 시스템 실시간 상태 계측판 */
.diagnostics-deck {
  background: var(--hud-steel);
  border: 1px solid var(--hud-steel-border);
  border-radius: 8px;
  padding: 10px 14px;
  width: 380px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.diagnostics-deck::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--hud-gold);
}

.diagnostics-deck__title {
  font-size: 0.68rem;
  color: var(--hud-text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.diagnostics-deck__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: #090e10;
  border: 1px solid #162226;
  border-radius: 4px;
  padding: 6px;
}

.diag-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(35, 52, 58, 0.4);
}

.diag-item:last-child {
  border-right: 0;
}

.diag-item .lbl {
  font-size: 0.58rem;
  color: var(--hud-text-muted);
  margin-bottom: 2px;
}

.diag-item .val {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--hud-default-accent);
  text-shadow: var(--shadow-neon);
}

.diag-item:nth-child(2) .val {
  color: #39ff14;
  text-shadow: 0 0 5px #39ff14;
}

/* ==========================================================================
   ⚡ 3. HUD 내비게이션 탭 (전술 버튼)
   ========================================================================== */

.hud-tabs {
  width: 100%;
  padding-inline: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-block: 16px;
  position: relative;
  z-index: 10;
}

.hud-tab-btn {
  background: linear-gradient(180deg, #162428 0%, #0d1618 100%);
  border: 1px solid var(--hud-steel-border);
  border-bottom: 3px solid var(--hud-steel-border);
  border-radius: 4px;
  color: var(--hud-text-muted);
  padding: 8px 4px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hud-tab-btn:hover {
  border-color: var(--hud-text-muted);
  color: var(--hud-text-bright);
  transform: translateY(-1px);
}

.hud-tab-btn.is-locked,
.hud-tab-btn:disabled,
.hud-btn.is-locked,
.hud-btn:disabled {
  cursor: not-allowed;
  opacity: 0.42;
  transform: none;
  box-shadow: none;
}

.hud-tab-btn.is-locked:hover,
.hud-tab-btn:disabled:hover,
.hud-btn.is-locked:hover,
.hud-btn:disabled:hover {
  border-color: var(--hud-steel-border);
  color: var(--hud-text-muted);
  transform: none;
  box-shadow: none;
}

.hud-tab-btn.is-active {
  border-color: var(--hud-default-accent);
  border-bottom: 3px solid var(--hud-default-accent);
  color: var(--hud-text-bright);
  background: linear-gradient(180deg, #1d363b 0%, #0d1618 100%);
  box-shadow: 0 0 15px rgba(59, 241, 255, 0.25), inset 0 0 8px rgba(59, 241, 255, 0.15);
  text-shadow: 0 0 8px rgba(59, 241, 255, 0.5);
}

/* ==========================================================================
   🛰️ 4. 공통 콘솔 레이아웃 & 패널
   ========================================================================== */

.console-body {
  width: 100%;
  padding-inline: 12px;
  position: relative;
  z-index: 10;
  margin-bottom: 30px;
  flex-grow: 1; /* 푸터가 항상 하단에 붙도록 정렬 */
}

.hud-panel {
  display: none;
  background: var(--hud-panel-bg);
  border: 1px solid var(--hud-steel-border);
  border-radius: 12px;
  padding: 16px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.7), inset 0 0 20px rgba(255, 255, 255, 0.02);
  animation: hud-pane-slide 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hud-panel.panel-visible {
  display: block;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  border-bottom: 1px solid var(--hud-steel-border);
  padding-bottom: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.panel-indicator {
  font-size: 0.72rem;
  color: var(--hud-default-accent);
  text-shadow: var(--shadow-neon);
}

.panel-header h2 {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--hud-text-bright);
  margin-top: 4px;
}

.panel-desc {
  color: var(--hud-text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  max-width: 780px;
}

.panel-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* 범용 HUD 버튼 */
.hud-btn {
  background: #142125;
  border: 1px solid var(--hud-steel-border);
  color: var(--hud-text-bright);
  padding: 8px 16px;
  font-size: 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hud-btn:hover {
  border-color: var(--hud-default-accent);
  color: var(--hud-default-accent);
  box-shadow: var(--shadow-neon);
  transform: translateY(-1px);
}

.hud-btn:active {
  transform: translateY(1px);
}

/* HUD 검색창 */
.hud-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #090e10;
  border: 1px solid var(--hud-steel-border);
  padding: 0 12px;
  height: 36px;
  border-radius: 18px;
  color: var(--hud-text-muted);
}

.hud-search span {
  font-size: 0.72rem;
  font-weight: 700;
}

.hud-search input {
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--hud-text-bright);
  font-family: inherit;
  font-size: 0.86rem;
  width: 200px;
}

.hud-search input::placeholder {
  color: #3b5358;
}

.hud-search:focus-within {
  border-color: var(--hud-default-accent);
  box-shadow: var(--shadow-neon);
}

/* ==========================================================================
   🪐 5. 행성 목록 선택 화면 (Planet Grid & Premium List)
   ========================================================================== */

.planet-grid-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.planet-card {
  background: linear-gradient(150deg, #131f22 0%, #090e10 100%);
  border: 1px solid var(--hud-steel-border);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  width: 100%;
}

.planet-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.planet-card__video {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  overflow: hidden;
  background: #000;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 10px color-mix(in srgb, var(--accent) 35%, transparent);
}

.planet-card__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: screen;
  transform: scale(1.22);
}

.planet-card__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.planet-card__info h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--hud-text-bright);
  transition: color 0.15s ease;
}

.planet-card__info span {
  font-size: 0.7rem;
  color: var(--hud-gold);
  background: rgba(226, 178, 67, 0.08);
  border: 1px solid rgba(226, 178, 67, 0.2);
  padding: 1px 6px;
  border-radius: 3px;
  align-self: flex-start;
}

.planet-card:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 20%, transparent);
}

.planet-card:hover h3 {
  color: var(--accent);
}

.planet-card.is-selected {
  border-color: var(--accent);
  background: linear-gradient(150deg, #182e33 0%, #090e10 100%);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--accent) 28%, transparent);
}

/* ==========================================================================
   🚢 6. 국가 선택 덱 (National Dock)
   ========================================================================== */

.current-planet-hud {
  background: linear-gradient(90deg, #101c20 0%, transparent 100%);
  border-left: 3px solid var(--hud-default-accent);
  padding: 12px 18px;
  border-radius: 0 6px 6px 0;
  margin-bottom: 20px;
}

.current-planet-hud h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--hud-text-bright);
}

.current-planet-hud p {
  font-size: 0.8rem;
  color: var(--hud-text-muted);
  margin-top: 4px;
}

.national-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

/* 전술 스틸 플레이트 국가 카드 */
.nation-card {
  background: linear-gradient(150deg, #131f22 0%, #090e10 100%);
  border: 1px solid var(--hud-steel-border);
  border-radius: 8px;
  padding: 18px;
  text-align: left;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

/* 고유 Hex 컬러를 바인딩할 탑 스트라이프 */
.nation-card__stripe {
  height: 4px;
  position: absolute;
  top: 0; left: 0; right: 0;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.nation-card__meta {
  font-size: 0.68rem;
  color: var(--hud-text-muted);
  margin-top: 4px;
  display: flex;
  justify-content: space-between;
}

.nation-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-block: 10px 8px;
  color: var(--hud-text-bright);
  transition: color 0.15s ease;
}

.nation-card:hover h3 {
  color: var(--accent);
}

.nation-card__intro {
  font-size: 0.8rem;
  color: var(--hud-text-muted);
  line-height: 1.4;
  height: 52px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin-bottom: 12px;
}

.nation-card__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.hud-tag-sm {
  font-size: 0.65rem;
  background: #0f1618;
  border: 1px solid #1c2c31;
  color: var(--hud-text-bright);
  padding: 2px 6px;
  border-radius: 3px;
}

.nation-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 22%, transparent);
}

.nation-card.is-selected {
  border-color: var(--accent);
  box-shadow: 0 8px 30px color-mix(in srgb, var(--accent) 30%, transparent);
  background: linear-gradient(150deg, #182e33 0%, #090e10 100%);
}

.empty-card {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  background: #090e10;
  border: 1px dashed var(--hud-steel-border);
  border-radius: 8px;
  color: var(--hud-text-muted);
  font-size: 0.9rem;
}

/* ==========================================================================
   🏛️ 7. 정치 및 각료 회의실 복각 (Cabinet Dashboard)
   ========================================================================== */

.cabinet-dashboard {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* 국가 상단 대형 명패 판넬 */
.cabinet-banner {
  background: linear-gradient(90deg, #121e21 0%, #080d0e 100%);
  border: 1px solid var(--accent);
  border-left: 6px solid var(--accent);
  padding: 24px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5), inset 0 0 10px color-mix(in srgb, var(--accent) 8%, transparent);
}

.cabinet-banner__titles h3 {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--hud-text-bright);
  text-shadow: 0 0 15px color-mix(in srgb, var(--accent) 34%, transparent);
}

.cabinet-banner__titles p {
  color: var(--hud-text-muted);
  font-size: 0.86rem;
  margin-top: 4px;
}

.cabinet-president-card {
  background: rgba(7, 11, 12, 0.8);
  border: 1px solid var(--hud-steel-border);
  border-radius: 6px;
  padding: 12px 20px;
  min-width: 200px;
  text-align: right;
}

.cabinet-president-card span {
  font-size: 0.68rem;
  color: var(--hud-gold);
  text-transform: uppercase;
}

.cabinet-president-card strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--hud-text-bright);
  margin-top: 2px;
}

/* 소개문 & 정부 브리핑 레이아웃 */
.cabinet-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}

.intro-panel {
  width: 384px;
  min-width: 384px;
  max-width: 384px;
  justify-self: center;
  background: #090e10;
  border: 1px solid var(--hud-steel-border);
  border-radius: 8px;
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.intro-panel h4 {
  font-size: 0.86rem;
  color: var(--hud-text-muted);
  border-bottom: 1px solid var(--hud-steel-border);
  padding-bottom: 8px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.intro-panel pre {
  width: 345px;
  min-width: 330px;
  max-width: 335px;
  font-family: 'D2Coding', 'Consolas', monospace;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #a4cfd2;
  white-space: pre-wrap;
  word-break: break-all;
  overflow-y: auto;
  max-height: 380px;
}

/* 각료 카드 섹션 */
.cabinet-members-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cabinet-members-section h4 {
  font-size: 0.86rem;
  color: var(--hud-text-muted);
  text-transform: uppercase;
}

.members-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* 초간소화된 전술 연대원 카드 */
.member-card {
  background: linear-gradient(135deg, #111a1d 0%, #080c0d 100%);
  border: 1px solid var(--hud-steel-border);
  border-radius: 8px;
  padding: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.2s ease;
}

.member-card:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 18%, transparent);
}

.member-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
  border-bottom: 1px dashed rgba(35, 52, 58, 0.4);
  padding-bottom: 6px;
}

.member-info-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.member-info-row strong {
  color: var(--hud-text-muted);
  font-weight: 400;
}

.member-info-row span {
  color: var(--hud-text-bright);
  font-weight: 700;
}

.member-info-row:nth-child(2) span {
  color: var(--accent); /* 연대명은 국가 악센트 색상으로 발광 */
}

/* 4대 계측 스탯 그리드 */
.member-card__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  border-top: 1px solid rgba(35, 52, 58, 0.4);
  padding-top: 12px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-label {
  font-size: 0.65rem;
  color: var(--hud-text-muted);
  display: flex;
  justify-content: space-between;
}

.stat-value {
  color: var(--hud-text-bright);
  font-weight: 700;
}

/* 전술 도트 게이지바 */
.stat-gauge {
  height: 5px;
  background: #06090a;
  border: 1px solid #162226;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.stat-fill {
  height: 100%;
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 50%, #000) 0%, var(--accent) 100%);
  box-shadow: 0 0 6px var(--accent);
  border-radius: 2px;
  width: 0;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 사령관 추가 전적 메타 */
.member-card__records {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--hud-text-muted);
  margin-top: 12px;
  background: #06090a;
  padding: 6px 10px;
  border-radius: 4px;
}

.member-card__records span strong {
  color: var(--hud-text-bright);
}

/* ==========================================================================
   🔔 8. 하단 푸터 & 키프레임 애니메이션
   ========================================================================== */

.tactical-footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--hud-steel-border);
  padding: 20px 0;
  background: #050809;
}

.footer-container {
  width: 100%;
  padding-inline: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 0.68rem;
  color: var(--hud-text-muted);
  gap: 6px;
}

/* 애니메이션 */
@keyframes crt-flicker {
  0% { opacity: 0.27861; }
  5% { opacity: 0.34769; }
  10% { opacity: 0.23604; }
  15% { opacity: 0.90626; }
  20% { opacity: 0.18128; }
  25% { opacity: 0.83891; }
  30% { opacity: 0.65583; }
  35% { opacity: 0.67807; }
  40% { opacity: 0.26559; }
  45% { opacity: 0.84693; }
  50% { opacity: 0.96019; }
  55% { opacity: 0.13594; }
  60% { opacity: 0.88013; }
  65% { opacity: 0.48513; }
  70% { opacity: 0.24410; }
  75% { opacity: 0.5822; }
  80% { opacity: 0.63828; }
  85% { opacity: 0.90942; }
  90% { opacity: 0.26286; }
  95% { opacity: 0.79247; }
  100% { opacity: 0.47007; }
}

@keyframes sun-flare {
  from { transform: translate(-50%, -50%) scale(0.95); filter: brightness(0.95); }
  to { transform: translate(-50%, -50%) scale(1.05); filter: brightness(1.15); }
}

@keyframes hud-pane-slide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 모바일 전술 아카이브 고정 완료 (반응형 불필요 요소 제거) */
