/* ==========================================================================
   WINGEDWOLF.XYZ – OBSIDIAN WENDIGO & DISCORD DARK DESIGN SYSTEM
   Dominant pitch black (#000000), bone-white Wendigo totem, and neon accents
   ========================================================================== */

:root {
  /* Hluboká černá & Obsidian */
  --bg-pure-black: #000000;
  --bg-obsidian-1: #070709;
  --bg-obsidian-2: #0e0f13;
  --bg-obsidian-card: #121318;
  --bg-obsidian-hover: #181920;
  --bg-panel: #1b1d24;
  
  /* Temné akcenty */
  --accent-purple: #9333ea;
  --accent-violet: #a855f7;
  --accent-magenta: #d946ef;
  --accent-cyan: #06b6d4;
  --accent-gold: #eab308;
  --status-green: #22c55e;
  
  /* Text */
  --text-pure: #ffffff;
  --text-main: #d4d4d8;
  --text-muted: #71717a;
  --text-faint: #3f3f46;
  
  /* Ohraničení */
  --border-subtle: 1px solid rgba(255, 255, 255, 0.08);
  --border-card: 1px solid #1e2029;
  --border-glow: 0 0 20px rgba(168, 85, 247, 0.2);
  
  /* Typografie */
  --font-display: 'Syne', sans-serif;
  --font-text: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-latin: 'Cinzel', serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-pure-black);
  color: var(--text-main);
  font-family: var(--font-text);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Ambientní mlha & CRT řádky */
.ambient-fog {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: 
    radial-gradient(circle at 10% 10%, rgba(147, 51, 234, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(217, 70, 239, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.04) 0%, transparent 60%);
}

.subtle-crt-lines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    rgba(0, 0, 0, 0.25) 3px,
    rgba(0, 0, 0, 0.25) 4px
  );
  opacity: 0.6;
}

/* ==========================================================================
   HLAVIČKA (TOP NAV)
   ========================================================================== */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 7, 9, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.8);
}

.nav-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-cluster {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-avatar {
  position: relative;
  width: 38px;
  height: 38px;
}

.avatar-thumbnail {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-violet);
}

.online-indicator {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--status-green);
  border: 2px solid #000;
}

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

.brand-line {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-pure);
  letter-spacing: -0.01em;
}

.badge-wuff {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-magenta));
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Navigační přepínač záložek */
.nav-switcher {
  display: flex;
  gap: 0.35rem;
  background: var(--bg-obsidian-1);
  padding: 0.3rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.switcher-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-text);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.switcher-btn:hover {
  color: var(--text-pure);
  background: rgba(255, 255, 255, 0.05);
}

.switcher-btn.active {
  color: #fff;
  background: var(--bg-obsidian-card);
  border: 1px solid rgba(168, 85, 247, 0.4);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.2);
}

.badge-counter {
  background: rgba(168, 85, 247, 0.25);
  color: var(--accent-violet);
  font-size: 0.7rem;
  padding: 0.1rem 0.4rem;
  border-radius: 10px;
}

.social-link-btn {
  background: var(--bg-obsidian-card);
  border: 1px solid var(--border-card);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.social-link-btn:hover {
  border-color: var(--accent-violet);
  color: #fff;
  transform: translateY(-1px);
}

/* ==========================================================================
   HLAVNÍ ROZLOŽENÍ
   ========================================================================== */
.obsidian-container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 2rem 5rem;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 2rem;
  align-items: start;
}

/* ==========================================================================
   DISCORD KARTA (LEVY SLOUPEC)
   ========================================================================== */
.identity-column {
  position: sticky;
  top: 5rem;
}

.discord-obsidian-card {
  background: var(--bg-obsidian-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.85);
}

.card-top-banner {
  height: 110px;
  background: linear-gradient(135deg, #2b1055, #110726, #000000);
  position: relative;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.2), transparent 70%);
}

.clan-tag-top {
  position: absolute;
  top: 10px;
  right: 12px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--accent-violet);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.card-avatar-row {
  position: relative;
  margin-top: -55px;
  margin-left: 20px;
  width: 105px;
  height: 105px;
}

.avatar-ring-frame {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 50%;
  padding: 6px;
  background: var(--bg-obsidian-card);
}

.main-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-purple);
}

.status-circle {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--status-green);
  border: 4px solid var(--bg-obsidian-card);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

/* Citátová bublina */
.status-speech-bubble {
  margin: 12px 18px 0;
  background: var(--bg-obsidian-1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.bubble-symbol {
  font-size: 1rem;
  flex-shrink: 0;
}

.quote-text {
  font-family: var(--font-latin);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-violet);
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.card-body-section {
  padding: 16px 20px 24px;
}

.display-name-wrap {
  margin-bottom: 8px;
}

.display-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-pure);
  line-height: 1.2;
}

.user-subhandle {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.discord-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 16px;
}

.mini-badge {
  background: var(--bg-obsidian-1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.mini-badge.wendigo-badge {
  border-color: rgba(168, 85, 247, 0.4);
  color: var(--accent-violet);
  background: rgba(168, 85, 247, 0.1);
}

.mini-badge.artist-badge {
  border-color: rgba(244, 114, 182, 0.35);
  color: #f472b6;
  background: rgba(244, 114, 182, 0.08);
}

.divider-line {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 14px 0;
}

/* INTERAKTIVNÍ Z:\ DISK (TERMINAL BIO) */
.bio-terminal-box {
  background: #000;
  border: 1px solid #1f212a;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

.terminal-bar {
  background: #0a0a0f;
  border-bottom: 1px solid #181920;
  padding: 6px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.terminal-title {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
}

.window-controls {
  font-size: 0.68rem;
  color: var(--text-muted);
  display: flex;
  gap: 6px;
}

.terminal-tree {
  padding: 10px;
  font-size: 0.75rem;
  line-height: 1.7;
}

.tree-line {
  color: var(--text-main);
}

.tree-line.indent-1 { padding-left: 12px; }
.tree-line.indent-2 { padding-left: 24px; }
.tree-line.indent-3 { padding-left: 36px; }

.tree-prefix {
  color: var(--accent-cyan);
}

.active-file .file-quote {
  color: var(--accent-magenta);
  font-style: normal;
  font-weight: 700;
}

.meta-field {
  margin-bottom: 14px;
}

.credo-field {
  background: rgba(168, 85, 247, 0.04);
  border-left: 2px solid var(--accent-violet);
  padding: 8px 12px;
  border-radius: 0 6px 6px 0;
  margin-bottom: 16px;
}

.credo-text {
  font-size: 0.85rem;
  color: #e4e4e7;
  font-style: italic;
  line-height: 1.55;
}

.meta-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.meta-val {
  font-size: 0.88rem;
  color: var(--text-pure);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.connections-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.connection-pill {
  background: var(--bg-obsidian-1);
  border: 1px solid var(--border-card);
  color: var(--text-pure);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.connection-pill:hover {
  background: var(--bg-obsidian-hover);
  border-color: var(--accent-violet);
}

.connection-pill.spotify {
  color: #1db954;
}

.connection-pill.instagram {
  color: #f43f5e;
}

.connection-pill.instagram:hover {
  border-color: #e1306c;
  box-shadow: 0 0 10px rgba(225, 48, 108, 0.25);
}

.external-arrow {
  margin-left: auto;
  opacity: 0.5;
}

/* ==========================================================================
   PRAVÝ SLOUPEC (ZÁLOŽKY)
   ========================================================================== */
.main-content-area {
  min-height: 600px;
}

.content-tab-pane {
  display: none;
}

.content-tab-pane.active {
  display: block;
  animation: tabFadeIn 0.25s ease forwards;
}

@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.content-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.8rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pane-headline {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-pure);
}

.pane-tagline {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.status-pill {
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: var(--accent-violet);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   WENDIGO ALTAR KARTA
   ========================================================================== */
.wendigo-altar-card {
  background: var(--bg-obsidian-card);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 14px;
  padding: 2.2rem;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(168, 85, 247, 0.15);
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}

.wendigo-altar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-violet), var(--accent-magenta), transparent);
}

.wendigo-totem-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Wendigo Sigil: Invertované černé pero do zářivé kosti na čistě černém pozadí */
.wendigo-sigil-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: invert(1) brightness(1.2) drop-shadow(0 0 18px rgba(168, 85, 247, 0.5));
  mix-blend-mode: screen;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.wendigo-sigil-img:hover {
  transform: scale(1.04);
  filter: invert(1) brightness(1.4) drop-shadow(0 0 26px rgba(217, 70, 239, 0.8));
}

.altar-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-magenta);
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.altar-heading {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 12px;
  line-height: 1.2;
}

.altar-desc {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.65;
  margin-bottom: 20px;
}

.altar-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trait-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 4px;
  color: var(--accent-violet);
}

/* ==========================================================================
   DASHBOARD KARTY ROZCESTNÍKU
   ========================================================================== */
.section-title-wrap {
  margin-bottom: 1.2rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text-pure);
}

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

.dashboard-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

.dash-card {
  background: var(--bg-obsidian-card);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  cursor: pointer;
  transition: all 0.2s;
}

.dash-card:hover {
  background: var(--bg-obsidian-hover);
  border-color: var(--accent-violet);
  transform: translateY(-3px);
}

.dash-card-icon {
  font-size: 2rem;
}

.dash-card-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 4px;
}

.dash-card-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.dash-arrow {
  margin-left: auto;
  color: var(--accent-violet);
  font-weight: 700;
}

/* ==========================================================================
   PROJEKTOVÁ LIŠTA & KARTY
   ========================================================================== */
.project-toolbar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.search-box {
  position: relative;
  width: 100%;
}

.search-ico {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
}

.search-box input {
  width: 100%;
  background: var(--bg-obsidian-card);
  border: 1px solid var(--border-card);
  color: var(--text-pure);
  font-family: var(--font-text);
  font-size: 0.95rem;
  padding: 0.8rem 2.8rem 0.8rem 2.6rem;
  border-radius: 8px;
  transition: all 0.2s;
}

.search-box input:focus {
  outline: none;
  border-color: var(--accent-violet);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
}

.clear-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: none;
}

.clear-btn.visible { display: block; }

.chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-chip {
  background: var(--bg-obsidian-card);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  font-family: var(--font-text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-chip:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.filter-chip.active {
  background: var(--bg-panel);
  border-color: var(--accent-violet);
  color: #fff;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.25);
}

.projects-master-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.project-master-card {
  background: var(--bg-obsidian-card);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.project-master-card:hover {
  transform: translateY(-4px);
  border-color: var(--item-accent, var(--accent-violet));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 18px rgba(168, 85, 247, 0.2);
}

.card-topbar {
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.proj-cat-tag {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.proj-cat-tag.valley { background: rgba(249, 115, 22, 0.15); color: #fb923c; border: 1px solid rgba(249, 115, 22, 0.3); }
.proj-cat-tag.lore { background: rgba(220, 38, 38, 0.15); color: #f87171; border: 1px solid rgba(220, 38, 38, 0.3); }
.proj-cat-tag.apps { background: rgba(6, 182, 212, 0.15); color: #38bdf8; border: 1px solid rgba(6, 182, 212, 0.3); }
.proj-cat-tag.dev { background: rgba(168, 85, 247, 0.15); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.3); }

.proj-status-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
}

.card-center {
  padding: 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.proj-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 0.5rem;
}

.proj-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.proj-tags-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tag-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.card-bottombar {
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.inspect-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--item-accent, var(--accent-violet));
}

/* ==========================================================================
   HERNÍ SEKCE (FACTORIO, TERRARIA, SATISFACTORY)
   ========================================================================== */
.games-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.game-feature-card {
  background: var(--bg-obsidian-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s;
}

.game-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
}

.game-feature-card.factorio:hover {
  border-color: #f97316;
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.2);
}

.game-feature-card.terraria:hover {
  border-color: #22c55e;
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.2);
}

.game-feature-card.satisfactory:hover {
  border-color: #06b6d4;
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.2);
}

.game-feature-card.lort:hover {
  border-color: #eab308;
  box-shadow: 0 10px 30px rgba(234, 179, 8, 0.2);
}

.game-header-bar {
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.game-fav-tag {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.game-badge-tech {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}

.game-body-area {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.game-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 0.5rem;
}

.game-description {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.game-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.game-specs span {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

/* ==========================================================================
   KONTAKTNÍ FORMULÁŘ
   ========================================================================== */
.contact-box-wrapper {
  max-width: 650px;
}

.obsidian-form {
  background: var(--bg-obsidian-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.input-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.input-group input,
.input-group textarea {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-pure);
  font-family: var(--font-text);
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  border-radius: 6px;
  transition: all 0.2s;
}

.input-group input:focus,
.input-group textarea:focus {
  outline: none;
  border-color: var(--accent-violet);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.3);
}

.submit-obsidian-btn {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-magenta));
  color: #fff;
  border: none;
  font-family: var(--font-text);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.85rem 1.8rem;
  border-radius: 6px;
  cursor: pointer;
  align-self: flex-start;
  transition: all 0.2s;
}

.submit-obsidian-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4);
}

.form-feedback-notice {
  font-size: 0.9rem;
  padding: 0.8rem;
  border-radius: 6px;
  display: none;
}

.form-feedback-notice.success {
  display: block;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid var(--status-green);
  color: #86efac;
}

/* ==========================================================================
   DETAIL MODAL
   ========================================================================== */
.obsidian-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.obsidian-modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-dimmer {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  z-index: 1;
  background: var(--bg-obsidian-card);
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 12px;
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95), 0 0 30px rgba(168, 85, 247, 0.2);
}

.modal-head {
  background: #08080c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-category-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-magenta);
}

.modal-x-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  cursor: pointer;
}

.modal-x-btn:hover { color: var(--accent-violet); }

.modal-scrollable-content {
  padding: 24px;
}

.modal-details-grid {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0;
}

.m-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
  padding-bottom: 6px;
}

.m-row:last-child { border-bottom: none; }

.m-key { color: var(--text-muted); font-family: var(--font-mono); }
.m-val { color: var(--text-pure); font-weight: 500; }

/* ==========================================================================
   PATIČKA
   ========================================================================== */
.bottom-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #050507;
  padding: 2.2rem 2rem;
  position: relative;
  z-index: 10;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-pure);
  display: block;
}

.footer-latin {
  font-family: var(--font-latin);
  color: var(--accent-violet);
}

.footer-tech {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.footer-ae-symbol {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-magenta);
  margin-right: 4px;
  display: inline-block;
  transition: transform 0.2s ease, color 0.2s ease;
}

.footer-tech:hover .footer-ae-symbol {
  color: var(--accent-cyan);
  transform: scale(1.15);
}

/* ==========================================================================
   RESPONSIVITA
   ========================================================================== */
@media (max-width: 1024px) {
  .obsidian-container {
    grid-template-columns: 1fr;
  }
  .identity-column {
    position: static;
  }
  .wendigo-altar-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .wendigo-totem-wrap {
    height: 180px;
  }
  .altar-traits {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-wrapper {
    flex-direction: column;
    padding: 1rem;
  }
  .nav-switcher {
    flex-wrap: wrap;
    justify-content: center;
  }
  .obsidian-container {
    padding: 1rem;
  }
}
