/* Byzantinium — Legendary Metal of the Shadow Realm */

* { margin: 0; padding: 0; box-sizing: border-box; }
img { display: block; max-width: 100%; height: auto; }

:root {
    --ink: #E8E0D4;
    --muted: #A89B8C;
    --bg: #0D0B0E;
    --card: #16131A;
    --border: rgba(200, 180, 140, 0.12);
    --accent: #C9A84C;
    --accent-glow: rgba(201, 168, 76, 0.25);
    --arcane: #7B5EA7;
    --arcane-glow: rgba(123, 94, 167, 0.3);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    --radius: 12px;
    --maxw: 860px;
    --pad: 24px;
}

body {
    font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
    line-height: 1.75;
    color: var(--ink);
    background:
        radial-gradient(ellipse 900px 500px at 30% 0%, rgba(123, 94, 167, 0.12), transparent 60%),
        radial-gradient(ellipse 700px 400px at 80% 10%, rgba(201, 168, 76, 0.08), transparent 50%),
        var(--bg);
    min-height: 100vh;
}

/* Typography */
h1, h2, h3 { font-family: "Palatino Linotype", Palatino, Georgia, serif; color: var(--accent); }

h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 0.25em;
    text-shadow: 0 0 30px var(--accent-glow);
}

h2 {
    font-size: 1.5rem;
    margin: 2.5rem 0 0.75rem;
    padding-bottom: 0.3em;
    border-bottom: 1px solid var(--border);
    letter-spacing: 0.02em;
}

h3 {
    font-size: 1.15rem;
    margin: 1.5rem 0 0.5rem;
    color: var(--arcane);
}

p { margin: 0.75rem 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Layout */
header {
    text-align: center;
    padding: 4rem var(--pad) 2rem;
}

header .subtitle {
    font-style: italic;
    color: var(--muted);
    font-size: 1.1rem;
    margin-top: 0.25em;
}

.sigil {
    display: block;
    margin: 0 auto 1.5rem;
    width: 80px;
    height: 80px;
    opacity: 0.85;
    animation: pulse 4s ease-in-out infinite;
}

main {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--pad) 4rem;
}

section {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--arcane), transparent);
    opacity: 0.6;
}

/* Properties list */
.properties {
    list-style: none;
    padding: 0;
}

.properties li {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 0.75rem;
    align-items: baseline;
}

.properties li:last-child { border-bottom: none; }

.properties .label {
    font-weight: bold;
    color: var(--accent);
    white-space: nowrap;
    min-width: 140px;
}

/* Blockquote */
blockquote {
    border-left: 3px solid var(--arcane);
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background: rgba(123, 94, 167, 0.06);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--muted);
}

blockquote cite {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--accent);
    font-style: normal;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem var(--pad);
    color: var(--muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--border);
    max-width: var(--maxw);
    margin: 0 auto;
}

/* Sigil pulse animation */
@keyframes pulse {
    0%, 100% { filter: drop-shadow(0 0 6px var(--arcane-glow)); }
    50% { filter: drop-shadow(0 0 18px var(--accent-glow)); }
}

/* Responsive */
@media (max-width: 600px) {
    section { padding: 1.25rem 1.25rem; }
    .properties li { flex-direction: column; gap: 0.15rem; }
    .properties .label { min-width: auto; }
}
