:root {
  --gold-light: #ffe7a3;
  --gold: #e8b24a;
  --gold-deep: #9c6418;
  --ink: #f4ecdc;
  --muted: #cbbfa8;
  --card: rgba(18, 12, 38, 0.86);
  --line: rgba(232, 178, 74, 0.35);
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  min-height: 100vh;
  color: var(--ink);
  font: 17px/1.65 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: #070614 url("bg.jpg") center top / cover fixed no-repeat;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(7, 6, 20, 0.35), rgba(7, 6, 20, 0.85));
  z-index: -1;
}

a { color: var(--gold-light); }
a:hover { color: #fff; }

.wrap { max-width: 860px; margin: 0 auto; padding: 32px 16px 64px; }

header.site {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 28px;
}

header.site img { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5); }

header.site a.brand {
  font-family: "Cinzel", Georgia, serif;
  font-weight: 700;
  font-size: clamp(18px, 5vw, 24px);
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-decoration: none;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

nav.links { margin-left: auto; display: flex; gap: 16px; flex-wrap: wrap; font-size: 15px; }
@media (max-width: 560px) {
  nav.links { margin-left: 0; width: 100%; }
}
html, body { overflow-x: hidden; }
main.card { overflow-wrap: anywhere; }
nav.links a { text-decoration: none; color: var(--muted); }
nav.links a[aria-current="page"], nav.links a:hover { color: var(--gold-light); }

main.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px clamp(20px, 5vw, 48px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 231, 163, 0.12);
  backdrop-filter: blur(6px);
}

h1, h2 {
  font-family: "Cinzel", Georgia, serif;
  line-height: 1.25;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1 { font-size: clamp(28px, 5vw, 40px); margin: 0 0 6px; }
h2 { font-size: 22px; margin: 34px 0 8px; }

.updated { color: var(--muted); font-size: 14px; margin: 0 0 24px; }

ul { padding-left: 22px; }
li { margin: 4px 0; }

.hero { text-align: center; padding: 24px 0 8px; }
.hero img { width: 120px; height: 120px; border-radius: 28px; box-shadow: 0 8px 32px rgba(232, 178, 74, 0.35); }
.hero p { color: var(--muted); max-width: 560px; margin: 12px auto 0; }

.buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
.button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 600;
  background: rgba(232, 178, 74, 0.08);
}
.button:hover { background: rgba(232, 178, 74, 0.2); color: #fff; }

.email {
  display: inline-block;
  margin: 8px 0 4px;
  padding: 12px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.3);
  font-weight: 600;
  font-size: 19px;
}

details {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; color: var(--gold-light); }
details p { margin: 8px 0 0; color: var(--ink); }

footer.site { text-align: center; color: var(--muted); font-size: 14px; margin-top: 28px; }
