/* ============================
   I Am Bored — Global Styles
   Simple. Retro. No nonsense.
   ============================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #fffdf7;
  --red:   #d42b2b;
  --red-hover: #b81e1e;
  --black: #1a1a1a;
  --gray:  #6b6b6b;
  --light: #f0ece0;
  --border: #d8d0bc;

  /* per-section accent colours */
  --games-color:    #1a6fad;
  --draw-color:     #e07b00;
  --do-color:       #2a8a3e;
  --trivia-color:   #7b35c1;
  --class-color:    #c44a00;
  --hotlines-color: #0f7f7f;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--black);
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 18px;
  line-height: 1.6;
  min-height: 100vh;
}

/* ── Typography ── */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: bold; letter-spacing: -1px; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: bold; margin-bottom: .5rem; }
h3 { font-size: 1.2rem; font-weight: bold; margin-bottom: .4rem; }
p  { margin-bottom: 1rem; color: var(--gray); font-family: system-ui, sans-serif; font-size: 1rem; }
a  { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Shared Nav Bar ── */
.site-nav {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: var(--cream);
  border-bottom: 3px solid var(--black);
  margin: 0;
}
.site-nav .logo {
  font-family: Georgia, serif;
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--red);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.site-nav .logo span { color: var(--black); }
.site-nav ul { display: none; }

/* The button in the header */
.header-btn {
  font-size: 0.95rem;
  padding: 0.5rem 1.2rem;
  margin: 0 0 4px 0;
  box-shadow: 0 4px 0 #8b1515 !important;
  border-radius: 6px !important;
}
.header-btn:active {
  transform: translateY(4px) !important;
  box-shadow: 0 0px 0 #8b1515 !important;
}

/* ── THE BIG BUTTON ── */
.bored-btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: Georgia, serif;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: bold;
  padding: 1.1rem 3rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: .5px;
  box-shadow: 0 4px 0 #8b1515, 0 6px 16px rgba(212,43,43,.3);
  transition: transform .08s, box-shadow .08s;
  user-select: none;
  text-decoration: none !important;
}
.bored-btn:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #8b1515, 0 2px 8px rgba(212,43,43,.2);
}
.bored-btn:hover { background: var(--red-hover); }

/* ── Content Page Button (smaller) ── */
.action-btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: bold;
  padding: .7rem 2rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 3px 0 #8b1515;
  transition: transform .08s, box-shadow .08s;
  user-select: none;
}
.action-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #8b1515; }
.action-btn:hover  { background: var(--red-hover); }
.action-btn.outline {
  background: var(--cream);
  color: var(--red);
  border: 2px solid var(--red);
  box-shadow: none;
}

/* ── Card ── */
.card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 1.4rem 1.6rem;
  margin-bottom: 1rem;
}

/* ── Grid layouts ── */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }

/* ── Page container ── */
.page { max-width: 860px; margin: 0 auto; padding: 3rem 1.5rem; text-align: center; }
.page-left { max-width: 860px; margin: 0 auto; padding: 2.5rem 1.5rem; }

/* ── Section divider ── */
.divider { border: none; border-top: 2px solid var(--border); margin: 2.5rem 0; }

/* ── Quote ── */
.quote-text {
  font-style: italic;
  color: var(--gray);
  font-size: 1rem;
  margin-top: 1.2rem;
  min-height: 1.6rem;
  font-family: Georgia, serif;
}

/* ── Footer ── */
footer {
  text-align: center;
  padding: 1.5rem;
  border-top: 2px solid var(--border);
  font-family: system-ui, sans-serif;
  font-size: .85rem;
  color: var(--gray);
  margin-top: 4rem;
}
footer a { color: var(--gray); }

/* ── Pill / badge ── */
.badge {
  display: inline-block;
  font-family: system-ui, sans-serif;
  font-size: .75rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .2rem .6rem;
  border-radius: 99px;
  border: 1.5px solid currentColor;
}

/* ── Game nav bar inside game pages ── */
.game-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .7rem 1.2rem;
  background: var(--cream);
  border-bottom: 2px solid var(--border);
  font-family: system-ui, sans-serif;
  font-size: .9rem;
}
.game-nav a { color: var(--gray); font-weight: 600; }
.game-nav .game-title { font-weight: bold; color: var(--black); }

/* ── Responsive ── */
@media (max-width: 600px) {
  .site-nav ul { gap: .8rem; }
  .bored-btn   { font-size: 1.4rem; padding: 1rem 2rem; }
  .page        { padding: 2rem 1rem; }
}
