/* ============================================
   BASE.CSS - Wspólne style dla standalone pages
   (index, search, quickref, tips, memories, releasenotes)
   ============================================ */

/* Design tokens */
:root {
  --bg-dark: #0d1117;
  --bg-card: rgba(20, 25, 35, 0.95);
  --text: #e8e8e8;
  --text-muted: #8b949e;
  --gold: #c9a227;
  --border: rgba(200, 200, 200, 0.2);
}

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

/* Body */
body {
  background: var(--bg-dark);
  min-height: 100vh;
  font-family: 'Crimson Text', Georgia, serif;
  color: var(--text);
}

/* Background image overlay */
.page-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('Character/background.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: -1;
  pointer-events: none;
}

/* Floating "Back to Party" button */
.back-nav {
  position: fixed !important;
  bottom: 20px !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%);
  padding: 0;
  background: transparent !important;
  border: none;
  z-index: 9999 !important;
}

.back-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 30px;
  color: var(--text-muted);
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.back-nav a:hover {
  color: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.back-nav .version {
  display: none;
}
