/* === INGLOURIOUS BASTERDS theme — typewriter military amber === */
body { font-family: 'Special Elite', 'Courier Prime', 'Noto Serif SC', serif; background: #0a0805; }
body[data-screen="title-screen"] { filter: contrast(1.10) saturate(0.95); }
.title-poster { background: radial-gradient(ellipse at 50% 60%, rgba(212,165,68,0.12), transparent 60%); }
.title-line1, .title-line2 { color: #e8d4a0 !important; font-family: 'Special Elite', monospace !important; font-weight: 400 !important; text-shadow: 0 0 1px #d4a544, 4px 4px 0 #5a1818, 8px 8px 30px rgba(212,165,68,0.35) !important; letter-spacing: 4px !important; }
.kanji-bg { color: #8b1a1a !important; opacity: 0.20 !important; font-size: 320px !important; transform: translate(-50%,-50%) rotate(-15deg) !important; }
.title-tag, .chapter-card-tag, .route-tag, .route-end-tag, .route-num,
#dialogue-controls button, .menu-btn,
.title-foot, .title-starring-label { font-family: 'Special Elite', 'Courier Prime', monospace !important; }
.title-tag, .title-foot { color: #d4a544 !important; letter-spacing: 6px !important; }
.title-quote { color: #c79e3f !important; font-style: italic; font-family: 'Special Elite', monospace !important; }
.menu-btn { border: 1px solid #8b1a1a !important; color: #d4a544 !important; letter-spacing: 4px !important; }
.menu-btn:hover { background: #8b1a1a !important; color: #fffaee !important; box-shadow: 0 0 26px rgba(139,26,26,0.6) !important; }
.route-card { border-color: #5a3018 !important; }
.route-card:hover { box-shadow: 0 0 50px rgba(212,165,68,0.30) !important; border-color: #d4a544 !important; }
#speaker-name { color: #d4a544 !important; font-family: 'Special Elite', monospace !important; }
.choice-btn { border-color: #8b1a1a !important; color: #d4a544 !important; font-family: 'Special Elite', monospace !important; }
.choice-btn:hover { background: #8b1a1a !important; color: #fffaee !important; }


/* === AUTO-INJECTED bg/cg CSS RULES (do not edit by hand) === */
#bg-layer.bg-blood { --bg-img: url('assets/bg/bg-blood.png'); --bg-tint: linear-gradient(180deg,rgba(0,0,0,0.15) 0%,rgba(0,0,0,0.5) 100%); }
#bg-layer.bg-cinema { --bg-img: url('assets/bg/bg-cinema.png'); --bg-tint: radial-gradient(circle at 50% 60%,rgba(255,120,40,0.25) 0%,transparent 55%),linear-gradient(180deg,rgba(60,20,5,0.2) 0%,rgba(0,0,0,0.6) 100%); }
#bg-layer.bg-farm { --bg-img: url('assets/bg/bg-farm.png'); --bg-tint: radial-gradient(ellipse at 50% 40%,rgba(120,180,120,0.18) 0%,transparent 55%),linear-gradient(180deg,rgba(0,0,0,0.15) 0%,rgba(0,0,0,0.5) 100%); }
#bg-layer.bg-forest { --bg-img: url('assets/bg/bg-forest.png'); --bg-tint: radial-gradient(ellipse at 50% 40%,rgba(120,180,120,0.18) 0%,transparent 55%),linear-gradient(180deg,rgba(0,0,0,0.15) 0%,rgba(0,0,0,0.5) 100%); }
#bg-layer.bg-paris { --bg-img: url('assets/bg/bg-paris.png'); --bg-tint: radial-gradient(circle at 50% 60%,rgba(255,140,60,0.15) 0%,transparent 50%),linear-gradient(180deg,rgba(15,10,20,0.2) 0%,rgba(0,0,0,0.55) 100%); }
#bg-layer.bg-tavern { --bg-img: url('assets/bg/bg-tavern.png'); --bg-tint: radial-gradient(ellipse at 50% 50%,rgba(220,160,80,0.15) 0%,transparent 55%),linear-gradient(180deg,rgba(20,15,5,0.2) 0%,rgba(0,0,0,0.5) 100%); }
#bg-layer { background: var(--bg-tint, none), var(--bg-img, none) center/cover no-repeat; }
/* === END AUTO-INJECTED === */

/* === TITLE SCREEN BG IMAGE (auto) === */
#title-screen {
  background-image: url('assets/title.png');
  background-size: cover;
  background-position: center;
  position: relative;
}
/* Darkening + vignette overlay so the title/buttons read clearly */
#title-screen::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse at 50% 55%, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.65) 60%, rgba(0,0,0,0.85) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.20) 30%, rgba(0,0,0,0.45) 75%, rgba(0,0,0,0.85) 100%);
}
/* Make sure all the actual content sits above the overlay */
#title-screen > * { position: relative; z-index: 1; }
/* === END TITLE BG === */
