/* Lumencast — site web style 2012 dark fantasy RPG */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700;900&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --bg: #0d0a14;
  --bg-panel: #1a142a;
  --bg-deep: #15101e;
  --gold: #c8983d;
  --gold-bright: #e8c547;
  --gold-dim: #7a5a25;
  --blood: #3a1a2a;
  --border: #3a2c52;
  --border-gold: #8a6a25;
  --text: #e8e0c4;
  --text-secondary: #cfc8e0;
  --text-muted: #7a6c9c;
}

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

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
  line-height: 1.5;
  min-height: 100%;
}

body {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(58, 26, 42, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(200, 152, 61, 0.08) 0%, transparent 60%),
    var(--bg);
  background-attachment: fixed;
}

a { color: var(--gold-bright); text-decoration: none; transition: color 0.2s; }
a:hover { color: #fff; text-shadow: 0 0 8px var(--gold-bright); }

h1, h2, h3, h4 { font-family: 'Cinzel', serif; font-weight: 900; letter-spacing: 2px; color: var(--gold-bright); }
h1 { font-size: 36px; margin-bottom: 16px; }
h2 { font-size: 24px; margin-bottom: 12px; color: var(--gold); }
h3 { font-size: 18px; margin-bottom: 8px; }

/* Banner / header */
.banner {
  position: relative;
  padding: 20px 24px;
  background: linear-gradient(180deg, #1a142a 0%, #0d0a14 100%);
  border-bottom: 2px solid var(--border-gold);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}
.banner-inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 24px; }
.brand { font-family: 'Cinzel', serif; font-size: 28px; font-weight: 900; letter-spacing: 6px; color: var(--gold-bright); text-shadow: 0 0 12px rgba(232, 197, 71, 0.5); }
.brand-tag { color: var(--text-muted); font-size: 12px; letter-spacing: 4px; font-style: italic; margin-left: -16px; }

/* Nav */
nav.main { background: #0e0a18; border-bottom: 1px solid var(--border); padding: 0; }
nav.main ul { max-width: 1180px; margin: 0 auto; display: flex; list-style: none; flex-wrap: wrap; }
nav.main li { border-right: 1px solid var(--border); }
nav.main a {
  display: block;
  padding: 14px 22px;
  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--text-secondary);
  text-transform: uppercase;
}
nav.main a:hover, nav.main a.active {
  background: linear-gradient(180deg, rgba(200, 152, 61, 0.12), transparent);
  color: var(--gold-bright);
  text-shadow: 0 0 8px var(--gold-bright);
}

/* Container */
.container { max-width: 1180px; margin: 0 auto; padding: 32px 24px; }

/* Panel — bordered card */
.panel {
  background: linear-gradient(180deg, var(--bg-panel) 0%, var(--bg-deep) 100%);
  border: 2px solid var(--border-gold);
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow:
    inset 0 0 30px rgba(0, 0, 0, 0.6),
    0 6px 24px rgba(0, 0, 0, 0.5);
  position: relative;
}
.panel::before, .panel::after,
.panel > .corner-tl, .panel > .corner-tr, .panel > .corner-bl, .panel > .corner-br {
  content: ''; position: absolute; width: 16px; height: 16px;
  border-color: var(--gold-bright); border-style: solid; border-width: 0;
}
.panel::before { top: 4px; left: 4px; border-top-width: 2px; border-left-width: 2px; }
.panel::after { top: 4px; right: 4px; border-top-width: 2px; border-right-width: 2px; }
.panel > .corner-bl { bottom: 4px; left: 4px; border-bottom-width: 2px; border-left-width: 2px; }
.panel > .corner-br { bottom: 4px; right: 4px; border-bottom-width: 2px; border-right-width: 2px; }

/* Hero (homepage) */
.hero {
  text-align: center; padding: 80px 24px 60px;
  background:
    radial-gradient(ellipse at center, rgba(58, 26, 42, 0.6) 0%, transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.hero h1 { font-size: 56px; letter-spacing: 8px; margin-bottom: 8px; }
.hero p.subtitle { font-size: 18px; font-style: italic; color: var(--text-muted); margin-bottom: 32px; }
.hero .cta { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(180deg, #3a2c52 0%, #1a142a 100%);
  color: var(--gold-bright);
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: 2px solid var(--border-gold);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn:hover { background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dim) 100%); color: #0d0a14; box-shadow: 0 0 16px rgba(232, 197, 71, 0.5); text-shadow: none; }
.btn-primary { background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dim) 100%); color: #0d0a14; }
.btn-primary:hover { background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 100%); }
.btn-danger { border-color: #c9344b; color: #ff8c97; }
.btn-danger:hover { background: linear-gradient(180deg, #c9344b 0%, #6a1a26 100%); color: #fff; }

/* Forms */
input[type="text"], input[type="email"], input[type="password"], textarea {
  background: #0e0a18; color: var(--text); border: 1px solid var(--border-gold);
  padding: 10px 12px; border-radius: 4px; font-family: inherit; font-size: 16px; width: 100%;
}
input:focus, textarea:focus { outline: none; border-color: var(--gold-bright); box-shadow: 0 0 8px rgba(232, 197, 71, 0.3); }
label { display: block; font-family: 'Cinzel', serif; font-size: 11px; letter-spacing: 2px; color: var(--text-muted); margin-bottom: 6px; text-transform: uppercase; }
.form-row { margin-bottom: 16px; }

/* Lists */
.entry-list { list-style: none; }
.entry { padding: 16px 0; border-bottom: 1px solid var(--border); }
.entry:last-child { border-bottom: 0; }
.entry h3 { color: var(--gold-bright); margin-bottom: 4px; }
.entry .meta { color: var(--text-muted); font-size: 13px; font-style: italic; margin-bottom: 8px; }

/* Vote button */
.vote-row { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.vote-btn { background: var(--bg-deep); border: 1px solid var(--border-gold); color: var(--gold); padding: 6px 12px; border-radius: 4px; cursor: pointer; font-family: inherit; transition: all 0.2s; }
.vote-btn:hover { background: var(--gold); color: #0d0a14; }
.vote-count { font-size: 18px; font-weight: 700; color: var(--gold-bright); }

/* Footer */
footer { padding: 32px 24px; border-top: 1px solid var(--border); margin-top: 64px; text-align: center; color: var(--text-muted); font-size: 13px; }
footer a { margin: 0 8px; }

/* Audio toggle */
.audio-toggle { position: fixed; top: 14px; right: 14px; z-index: 1000; background: rgba(13, 10, 20, 0.85); border: 1px solid var(--border-gold); border-radius: 4px; padding: 8px 12px; color: var(--gold); cursor: pointer; font-family: 'Cinzel', serif; font-size: 11px; letter-spacing: 2px; }

/* Roadmap timeline */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dim) 100%); }
.timeline-item { position: relative; padding-bottom: 24px; }
.timeline-item::before { content: ''; position: absolute; left: -28px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold-bright); box-shadow: 0 0 8px var(--gold-bright); }
.timeline-item h3 { color: var(--gold-bright); }
.timeline-item .quarter { font-family: 'Cinzel', serif; color: var(--text-muted); font-size: 11px; letter-spacing: 3px; }

/* Banner art (CSS-painted ornament) */
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 24px 0; }
.ornament .line { flex: 1; max-width: 120px; height: 1.5px; background: var(--gold); opacity: 0.6; }
.ornament .diamond { width: 10px; height: 10px; background: var(--gold-bright); transform: rotate(45deg); }

/* Status messages */
.alert { padding: 12px 16px; border-radius: 4px; margin-bottom: 16px; font-size: 14px; }
.alert-error { background: rgba(201, 52, 75, 0.15); border-left: 4px solid #c9344b; color: #ff8c97; }
.alert-success { background: rgba(43, 191, 108, 0.15); border-left: 4px solid #2bbf6c; color: #6cefa1; }
.alert-info { background: rgba(155, 140, 255, 0.12); border-left: 4px solid #9b8cff; color: #cfc8e0; }

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 36px; letter-spacing: 4px; }
  nav.main a { padding: 10px 14px; font-size: 11px; letter-spacing: 2px; }
  h1 { font-size: 26px; }
}
