:root {
  --ink: #fff5dc;
  --muted: #d7c8ad;
  --panel: #191422;
  --panel-border: #101018;
  --yellow: #ffd45e;
  --green: #9de269;
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background-color: #8c3b22;
  background-image: linear-gradient(#100b17a6, #100b17bd), url("brick-tile.svg");
  background-repeat: repeat, repeat;
  background-size: auto, 64px 64px;
  font-family: Consolas, "Courier New", monospace;
  line-height: 1.6;
}
a { color: var(--yellow); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #ffffff; outline-offset: 3px; }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }
header {
  background: #191422;
  border-bottom: 5px solid #07060a;
  box-shadow: 0 5px 0 #ffcd44;
}
.navbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 18px 0; }
.brand { font-size: 1.5rem; letter-spacing: 2px; font-weight: 900; text-decoration: none; color: var(--yellow); text-shadow: 3px 3px #8d392c; }
nav { display: flex; flex-wrap: wrap; gap: 10px; }
nav a {
  color: white; text-decoration: none; font-weight: 800; background: #332738;
  border: 2px solid #0a090d; padding: 5px 12px; box-shadow: 3px 3px #0a090d;
}
nav a:hover, nav a[aria-current="page"] { color: #15101a; background: var(--yellow); }
main { padding-top: 52px; padding-bottom: 60px; }
.panel {
  background: var(--panel); border: 4px solid var(--panel-border); padding: 26px;
  box-shadow: 8px 8px 0 #09070dc9; margin: 0 0 26px;
}
h1, h2, h3 { line-height: 1.2; margin-top: 0; }
h1 { color: var(--yellow); font-size: clamp(1.8rem, 5vw, 2.65rem); text-shadow: 3px 3px #804035; }
h2 { color: var(--yellow); font-size: 1.35rem; }
h3 { color: #ffffff; font-size: 1.2rem; }
p { margin-top: 0; }
.muted { color: var(--muted); }
.menu-links { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.menu-link { display: block; padding: 22px; color: #fff; background: #31253a; border: 3px solid #09070d; text-decoration: none; box-shadow: 4px 4px 0 #09070d; }
.menu-link:hover { background: #44334e; }
.menu-link strong { display: block; color: var(--yellow); font-size: 1.2rem; margin-bottom: 6px; }
.game { background: #2a2033; border: 3px solid #0c0b0d; padding: 20px; margin: 20px 0; }
.game-header { display: flex; gap: 12px; justify-content: space-between; align-items: start; flex-wrap: wrap; }
.game-header h2 { margin-bottom: 4px; }
.price { color: var(--green); font-weight: bold; font-size: 1.25rem; white-space: nowrap; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.btn {
  font: bold 1rem Consolas, "Courier New", monospace;
  display: inline-block; text-decoration: none; color: #191422;
  background: var(--yellow); border: 3px solid #0a090d; padding: 9px 14px;
  box-shadow: 4px 4px 0 #09070d; cursor: pointer;
}
.btn:hover { background: #ffec9d; }
.btn.secondary { background: #99dce3; }
.btn.secondary:hover { background: #c5f5f7; }
.btn:disabled { background: #77707c; color: #29232d; cursor: not-allowed; }
details { margin-top: 16px; color: var(--muted); }
summary { color: var(--yellow); cursor: pointer; font-weight: bold; }
footer { text-align: center; background: #191422; border-top: 4px solid #0a090d; padding: 16px; font-size: .88rem; color: var(--muted); }
@media (max-width: 560px) { .menu-links { grid-template-columns: 1fr; } .navbar { align-items: start; } .panel { padding: 18px; } }

.paypal-actions {
    display: block;
}

.paypal-actions > div {
    width: 100%;
    max-width: 500px;
}