/* ===== Ring of Fire Cards — shared styles =====
   One small file for the stuff every page shares.
   Page-specific bits stay in each page's own <style> block. */

:root {
  --paper: #f8f6f1;
  --ink: #111;
  --border-dashed: #dcd7cf;
  --accent: #d45a5a;        /* fire red — decorative */
  --accent-strong: #b83e3e; /* button red — passes AA contrast with white text */
  --uk-blue: #012169;
  --muted: #666;
}

html, body {
  margin: 0;
  padding: 0;
  max-width: 100vw;
  overflow-x: hidden;
  font-family: 'IBM Plex Sans', Arial, sans-serif;
  background: var(--paper) url('/paper-fibers.png');
  color: var(--ink);
  line-height: 1.4;
}

img { max-width: 100%; height: auto; }

.container {
  margin: 2em auto;
  padding: 2em;
  border: 2px dashed var(--border-dashed);
  box-sizing: border-box;
}

.logo {
  display: block;
  margin: 0 auto 1.2em;
  height: auto;
  filter: grayscale(1);
  object-fit: contain;
}

h1 {
  font-family: 'Bree Serif', serif;
  font-size: clamp(1.7rem, 6vw, 2.5rem);
  text-align: center;
  margin: 0 0 .5em;
  border-bottom: 2px dotted var(--ink);
  padding-bottom: .15em;
  text-transform: uppercase;
  font-weight: bold;
}

h2 {
  font-family: 'Bree Serif', serif;
  text-transform: uppercase;
}

.tagline {
  text-align: center;
  font-size: clamp(1rem, 3vw, 1.15em);
  margin-bottom: 1.3em;
  font-weight: 500;
}

/* --- The one true buy button --- */
.buy-btn {
  display: block;
  margin: 1.6em auto 1em;
  padding: .7em 2.2em;
  font-family: 'Bree Serif', serif;
  font-size: clamp(.9rem, 2.8vw, 1.1rem);
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: var(--accent-strong);
  color: #fff;
  box-shadow: 2px 2.5px 0 #444;
  text-transform: uppercase;
  text-align: center;
  width: auto;
  min-width: 140px;
  max-width: 320px;
  text-decoration: none;
  font-weight: bold;
  transition: background .2s;
}
.buy-btn:hover { background: var(--accent); }

.buy-btn--outline {
  background: transparent;
  color: var(--ink);
  box-shadow: 2px 2.5px 0 #bbb;
}
.buy-btn--outline:hover { background: #fff; }

.buy-btn--small {
  display: inline-block;
  margin: 0;
  padding: .4em 1.1em;
  font-size: .9rem;
  border-width: 2px;
  border-radius: 9px;
  min-width: 0;
  box-shadow: 1.5px 2px 0 #444;
}

/* --- Nav + footer --- */
nav {
  text-align: center;
  margin: 2em 0 .7em;
}
nav a {
  font-family: 'Bree Serif', serif;
  font-size: clamp(.95rem, 2.8vw, 1.1em);
  margin: 0 clamp(.5em, 3vw, 1.4em);
  text-decoration: underline;
  border-bottom: 2px dotted #aaa;
  color: var(--ink);
  transition: color .13s;
  display: inline-block;
  padding: .33em 0 .05em;
}
nav a:hover, nav a:focus { color: var(--accent); }

hr {
  border: none;
  border-top: 2px dashed #bbb;
  margin: 2.3em 0 1.1em;
}

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-family: 'Courier New', Courier, monospace;
  font-size: clamp(.8rem, 2.2vw, .95em);
  color: var(--muted);
  margin: 2.5em 0 .6em;
  text-align: center;
  padding: 0 1em;
}

/* --- Accessibility --- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--paper);
  color: var(--ink);
  border: 2px dashed var(--accent);
  padding: .5em 1em;
  font-family: 'Bree Serif', serif;
  z-index: 10000;
}
.skip-link:focus { left: 8px; top: 8px; }

nav a:focus-visible,
.buy-btn:focus-visible,
.footer-party-egg:focus-visible,
.quick-links a:focus-visible,
.download a:focus-visible {
  outline: 2px dashed var(--accent);
  outline-offset: 2px;
}

/* --- Shared breakpoints: 650 / 480 --- */
@media (max-width: 650px) {
  .container { padding: 1em; }
}
