@font-face { font-family: "Alegreya SC"; src: url("/fonts/AlegreyaSC-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("/fonts/AlegreyaSans-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }

:root {
  --abyss: #0B0910;
  --panel: #14111A;
  --cream: #FAF0D1;
  --parchment: #E8D9AF;
  --brass: #C48C40;
  --gold-border: #8A7448;
  --lamp-gold: #FFC46E;
  --muted: #B9AE92;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center;
  padding: 40px 16px 24px;
  color: var(--cream);
  font: 400 1.05rem/1.5 "Alegreya Sans", system-ui, sans-serif;
  background:
    linear-gradient(180deg, rgba(11, 9, 16, .72), rgba(11, 9, 16, .94) 55%, var(--abyss)),
    url("/assets/links-bg.jpg") center top / cover no-repeat fixed,
    var(--abyss);
}
.card { width: 100%; max-width: 440px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.seal { width: 112px; height: 112px; border-radius: 50%; box-shadow: 0 10px 40px rgba(0, 0, 0, .6), 0 0 0 1px rgba(138, 116, 72, .5); }
h1 { margin: 18px 0 6px; line-height: 0; }
h1 img { width: 220px; height: auto; }
.tag { color: var(--parchment); margin: 6px 0 26px; }

.links { width: 100%; display: grid; gap: 12px; }
.link {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 14px 18px; border-radius: 8px;
  text-decoration: none; color: var(--cream);
  font: 500 1.08rem/1.2 "Alegreya SC", Georgia, serif; letter-spacing: .05em;
  background: rgba(20, 17, 26, .82); border: 1px solid rgba(138, 116, 72, .45);
  transition: border-color .2s ease, color .2s ease, transform .15s ease;
}
.link:hover, .link:focus-visible { border-color: var(--lamp-gold); color: var(--lamp-gold); transform: translateY(-1px); }
.link--steam { color: #fff; background: linear-gradient(180deg, #4c9c2e, #3d7f25); border-color: #66b33e; box-shadow: 0 6px 24px rgba(76, 156, 46, .3); }
.link--steam:hover, .link--steam:focus-visible { color: #fff; box-shadow: 0 10px 32px rgba(102, 179, 62, .45); }
.lamp { width: 22px; height: 22px; }
.play { width: 0; height: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }

.icon { width: 22px; height: 22px; background: currentColor; flex: none;
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.icon--steam { --i: url("/assets/icons/steam.svg"); }
.icon--youtube { --i: url("/assets/icons/youtube.svg"); }
.icon--x { --i: url("/assets/icons/x.svg"); }
.icon--bluesky { --i: url("/assets/icons/bluesky.svg"); }
.icon--instagram { --i: url("/assets/icons/instagram.svg"); }
.icon--tiktok { --i: url("/assets/icons/tiktok.svg"); }
.icon--facebook { --i: url("/assets/icons/facebook.svg"); }

.socials { list-style: none; padding: 0; margin: 26px 0 0; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.socials a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: var(--parchment); background: rgba(20, 17, 26, .82); border: 1px solid rgba(138, 116, 72, .45); transition: color .2s ease, border-color .2s ease; }
.socials a:hover, .socials a:focus-visible { color: var(--lamp-gold); border-color: var(--lamp-gold); }
.contact { margin: 22px 0 0; font-size: .95rem; }
.contact a { color: var(--muted); }
.contact a:hover { color: var(--lamp-gold); }
.foot { margin-top: auto; padding-top: 32px; color: var(--muted); font-size: .8rem; opacity: .7; }
:focus-visible { outline: 2px solid var(--lamp-gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .link, .socials a { transition: none; } }
