/* Farclaim's public site, on top of the game's farclaim.css (colours, font, buttons).
   Copyright (C) 2026 Michael Slater. SPDX-License-Identifier: GPL-2.0-or-later */
body { overflow: auto; font-size: 16px; line-height: 1.6; }
#stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
header.bar, main, footer { position: relative; z-index: 1; }

header.bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 10px max(16px, calc(50% - 560px)); background: rgba(6, 9, 18, .82); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: .14em; font-size: 17px; }
header nav { display: flex; gap: 4px 18px; flex-wrap: wrap; align-items: center; margin-left: auto; }
header nav a { color: var(--dim); text-decoration: none; font-weight: 500; }
header nav a:hover { color: var(--text); }
header nav a.play { color: #f2fff8; background: linear-gradient(#2b9468, #1c6747); border: 1px solid #3fb383; border-radius: 7px; padding: 3px 14px; }
header nav a.play:hover { background: linear-gradient(#33a876, #207551); }

main { max-width: 1120px; margin: 0 auto; padding: 0 16px 40px; }
h1 { font-size: clamp(28px, 4.2vw, 46px); line-height: 1.15; font-weight: 700; letter-spacing: .005em; margin-bottom: 18px; }
h2.section { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--dim); display: flex; gap: 12px; margin: 64px 0 18px; }
h2.section::after { content: ""; flex: 1; height: 1px; margin-top: 10px; background: linear-gradient(90deg, var(--line2), transparent); }

.hero { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; padding: 56px 0 24px; }
.kicker { color: var(--accent); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; margin-bottom: 12px; }
.lead { color: #c5d0e6; font-size: 17px; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 12px; }
a.button { display: inline-block; text-decoration: none; color: var(--text); font-weight: 600; padding: 10px 22px; border-radius: 9px;
  background: linear-gradient(#27324f, #1d2640); border: 1px solid var(--line2); box-shadow: inset 0 1px 0 rgba(255,255,255,.07); }
a.button:hover { background: linear-gradient(#324062, #252f4e); border-color: #4a5e92; }
a.button.primary { background: linear-gradient(#2b9468, #1c6747); border-color: #3fb383; color: #f2fff8; box-shadow: 0 0 24px rgba(95,224,160,.25), inset 0 1px 0 rgba(255,255,255,.12); }
a.button.primary:hover { background: linear-gradient(#33a876, #207551); }
.hero-shot { margin: 0; }
.hero-shot img, .gallery img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line2);
  box-shadow: 0 18px 50px rgba(0,0,0,.6), 0 0 0 1px rgba(95,224,160,.08); }
.hero-shot img { transform: perspective(1400px) rotateY(-6deg); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 48px; }
.cards article { background: linear-gradient(180deg, rgba(18,26,45,.92), rgba(11,16,29,.92)); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.cards h2 { font-size: 18px; color: var(--accent); }
.cards p { color: #c5d0e6; font-size: 15px; margin: 0; }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.gallery figure { margin: 0; }
.gallery figcaption { color: var(--dim); font-size: 14px; margin-top: 8px; }

ul.news { list-style: none; padding: 0; margin: 0 0 14px; }
ul.news li { background: rgba(18,26,45,.85); border: 1px solid var(--line); border-left: 3px solid var(--accent2); border-radius: 8px; padding: 10px 14px; margin-bottom: 10px; color: #c5d0e6; }
ul.news time { display: block; color: var(--dim); font-size: 13px; }
ul.news b { color: var(--text); }

.closing { text-align: center; margin: 72px auto 20px; max-width: 640px; }
.closing h2 { font-size: 28px; display: block; }
.closing .cta { justify-content: center; }

footer { border-top: 1px solid var(--line); padding: 20px max(16px, calc(50% - 560px)); color: var(--dim); font-size: 13.5px; background: rgba(6,9,18,.8); }
footer p { margin: 0; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 32px; }
  .hero-shot img { transform: none; }
  .gallery { grid-template-columns: 1fr; }
  header nav { margin-left: 0; }
}
