:root {
  --ink: #f7f3ea;
  --paper: #2f2c28;
  --gold: #c9a227;
  --claret: #7b1e3a;
  --line: rgba(47,43,37,0.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: 'IBM Plex Sans', sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6vh 6vw;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(47,43,37,0.015) 2px, rgba(47,43,37,0.015) 3px);
  pointer-events: none;
}

.wrap { max-width: 640px; width: 100%; text-align: center; }

.seal { width: 76px; height: 76px; margin: 0 auto 2.5rem; }
.seal svg { width: 100%; height: 100%; }

h1 {
  font-family: 'Playfair Display', serif; font-weight: 400;
  font-size: clamp(2.4rem, 6.5vw, 3.8rem);
  letter-spacing: -0.01em; line-height: 1.05;
}

.tagline {
  margin-top: 1.4rem; font-size: 1.02rem;
  color: rgba(47,43,37,0.62); font-weight: 400;
}

.divider { width: 40px; height: 1px; background: var(--gold); margin: 2.6rem auto; }

.links { display: flex; flex-direction: column; gap: 0.9rem; }

.card {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.5rem; border: 1px solid rgba(123,30,58,0.35); border-radius: 4px;
  text-decoration: none; color: var(--paper); cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.card:hover { border-color: var(--claret); background: rgba(123,30,58,0.05); transform: translateY(-1px); }
.card:focus-visible { outline: 2px solid var(--claret); outline-offset: 3px; }

.card-label { display: flex; flex-direction: column; align-items: flex-start; gap: 0.15rem; }
.card-title { font-family: 'Cormorant', serif; font-size: 1.05rem; font-weight: 500; }
.card-sub { font-size: 0.8rem; color: rgba(47,43,37,0.5); }
.arrow { font-family: 'Fraunces', serif; color: var(--gold); font-size: 1.1rem; transition: transform 0.25s ease; }
.card:hover .arrow { transform: translateX(4px); }

footer {
  margin-top: 3.5rem; font-size: 0.78rem;
  color: rgba(47,43,37,0.35); letter-spacing: 0.03em;
}

.breadcrumb {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; color: rgba(47,43,37,0.45);
  margin-bottom: 2.5rem; text-decoration: none; cursor: pointer;
}
.breadcrumb:hover { color: var(--claret); }

.page-title {
  font-family: 'Fraunces', serif; font-weight: 300;
  font-size: clamp(2.2rem, 6vw, 3rem); margin-bottom: 0.6rem;
}
.page-sub { color: rgba(47,43,37,0.55); font-size: 0.95rem; margin-bottom: 2.5rem; }

.game-card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.3rem 1.5rem; border: 1px solid var(--line); border-radius: 4px;
  text-decoration: none; color: var(--paper); text-align: left;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.game-card:hover { border-color: var(--gold); background: rgba(201,162,39,0.06); transform: translateY(-1px); }

.game-icon {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%;
  background: rgba(201,162,39,0.12); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-size: 1.1rem;
}

.game-card .card-title { font-size: 1.1rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
