/* ===========================================================
   AELGARD — "Ashen Vow" (Low Rate)
   Mood: gritty, hardcore, classic, rare. Loaded only when the
   session's current world is Aelgard (see themes/tidurro/header.php).
   =========================================================== */

body.world-aelgard{
	--gold:        #8a2d2d;
	--gold-bright: #c9504f;
	--ink:         #cfc9bf;
	--ink-dim:     #8f887e;
	--bg-deep:     #0a0908;
	--panel:       rgba(16, 15, 14, 0.92);
	--panel-soft:  rgba(20, 18, 17, 0.80);
	--panel-border:rgba(138, 45, 45, 0.32);
	--line:        rgba(180, 170, 155, 0.12);
	--row-alt:     rgba(255, 255, 255, 0.02);
	--row-hover:   rgba(138, 45, 45, 0.10);
	--danger:      #c9504f;
	--ok:          #7c8a6e;
	--mana:        #6e7c8a;
	--mana-bright: #8fa0b0;
	--mystic:      #8a2d2d;

	font-family: "Crimson Text", Georgia, serif;
	font-size: 15.5px;
}

/* Real full-page animated background set directly on body (proven to
   render reliably, unlike a separate fixed pseudo behind translucent
   content - see project memory). Animated via background-position/size,
   not transform (transform on body would drag all page content). */
body.world-aelgard{
	background-color: var(--bg-deep);
	background-image:
		linear-gradient(180deg, rgba(0,0,0,0.20) 0%, rgba(0,0,0,0.42) 60%, rgba(0,0,0,0.70) 100%),
		url('../img/hero/aelgard-bg.jpg');
	background-size: cover, 190%;
	background-position: center, 78% 15%;
	background-repeat: no-repeat;
	background-attachment: fixed;
	filter: grayscale(45%) sepia(12%) brightness(0.95) contrast(1.05);
	animation: aelgardDrift 50s ease-in-out infinite alternate;
}
@keyframes aelgardDrift{
	0%   { background-size: cover, 190%; background-position: center, 78% 15%; }
	100% { background-size: cover, 205%; background-position: center, 74% 10%; }
}
@media (prefers-reduced-motion: reduce){ body.world-aelgard{ animation: none; } }
@media (max-width: 780px){ body.world-aelgard{ background-attachment: scroll; } }

body.world-aelgard h1, body.world-aelgard h2, body.world-aelgard h3, body.world-aelgard h4{
	font-family: "Cinzel", Georgia, serif;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink);
	text-shadow: none;
}
body.world-aelgard h2{ border-bottom: 1px solid var(--panel-border); }

body.world-aelgard .hero-title{
	font-family: "IM Fell English", Georgia, serif;
	font-style: italic;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0.01em;
	font-size: 2em;
	color: var(--ink);
}
body.world-aelgard .hero-tagline{
	font-family: "IM Fell English", Georgia, serif;
	font-style: italic;
	color: var(--ink-dim);
}

body.world-aelgard .brand-name{
	font-family: "Cinzel", Georgia, serif;
	font-weight: 600;
	letter-spacing: 0.05em;
}

body.world-aelgard .site-topbar{
	background: #0d0c0b;
	border-bottom: 1px solid var(--panel-border);
	box-shadow: none;
	backdrop-filter: none;
}

body.world-aelgard .world-switcher-btn.active,
body.world-aelgard .world-tab-btn.active{
	background: var(--gold);
	color: #efe8dc;
	box-shadow: none;
	border: 1px solid var(--gold-bright);
}

/* Flat, hard-edged, no glow - a plainer, harsher world */
body.world-aelgard .hero-banner{
	border-radius: 0;
	border: 1px solid var(--panel-border);
	background: rgba(255,255,255,0.02);
	backdrop-filter: none;
}
body.world-aelgard .hero-sparkles{ display: none; }

body.world-aelgard .stat-card{
	border-radius: 0;
	border-color: var(--line);
	background: var(--panel-soft);
	box-shadow: none;
}
body.world-aelgard .stat-card-value{ text-shadow: none; color: var(--gold-bright); }

body.world-aelgard button,
body.world-aelgard input[type="submit"],
body.world-aelgard .btn{
	border-radius: 2px;
	font-family: "Cinzel", serif;
	letter-spacing: 0.06em;
	box-shadow: none;
}

body.world-aelgard .app-sidebar{
	border-right: 1px solid var(--panel-border);
	box-shadow: none;
}

body.world-aelgard .world-card.world-low{
	box-shadow: none;
	border: 1px solid var(--panel-border);
}

body.world-aelgard .cursor-spark{ display: none; }
body.world-aelgard .hero-banner{ transform: none !important; }

body.world-aelgard .content-panel{ background: rgba(9, 8, 7, 0.60); }
body.world-aelgard .app-sidebar table,
body.world-aelgard #submenu, body.world-aelgard #pagemenu{ background: rgba(16, 15, 14, 0.60); }
