/* ==========================================================================
   MINECRAFT THEME STYLESHEET (Strict 3-Color Palette & Clean Typography)
   ========================================================================== */

/* --- The 3-Color Architecture --- */
:root {
  --color-dark: #141414;    /* Color 1: Bedrock Dark (Deep Black/Gray) */
  --color-slate: #2c2d30;   /* Color 2: Deep Slate (UI Panel Surfaces) */
  --color-gold: #dfa232;    /* Color 3: Classic Gold Accent */
  
  /* High-end, premium web typography (No clunky monospace fonts) */
  --font-main: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* --- Base Body / Content Window Container --- */
body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: #ffffff;
  background-color: var(--color-dark);
  
  /* Constrain layout frame directly on the body tag with no inner divs */
  max-width: 800px;
  margin: 10px auto;
  padding: 10px 40px;
  
  background-color: var(--color-slate);
  /* Pure CSS crisp, flat pixelated block border using our color palette */
  box-shadow: 
    0 -4px 0 -2px #43454a, 0 4px 0 -2px #000, 
    -4px 0 -2px #43454a, 4px 0 -2px #000,
    0 -4px 0 0px #000, 0 4px 0 0px #000, 
    -4px 0 0px #000, 4px 0 0px #000;
}

nav {
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}

/* Fluid responsive adjustments for mobile devices */
@media (max-width: 840px) {
  body {
    margin: 15px;
    padding: 24px;
    box-shadow: inset 0 0 0 4px #000;
  }
}

/* --- Premium Typography (Clean Sans-Serif with MC Hierarchy) --- */
h1, h2, h3, h4 {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 1em 0;
  line-height: 1.2;
}

h1 { font-size: 5rem; color: #fff; margin: 20px 0;}
h2 { font-size: 1.5rem; color: #fff; padding: 15px; border-top: 10px solid #29a329; background-color: #966947;}
h3 { font-size: 1.25rem; color: #333; padding: 10px; background-color: #848484; border-bottom: 6px solid #414141; border-right: 6px solid #414141;}
h4 { font-size: 1.05rem; color: #fff; opacity: 0.85; }

p {
  margin-bottom: 1.4em;
  color: #e2e4e9;
  font-weight: 400;
}

/* --- Direct Links & Semantic Buttons --- */
a {
  color: var(--color-gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

a:hover {
  border-bottom-color: var(--color-gold);
}

/* Native buttons or simulated link buttons */
button, a[role="button"] {
  display: inline-block;
  font-family: var(--font-main);
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  padding: 12px 24px;
  color: #ffffff;
  background-color: var(--color-dark);
  border: none;
  cursor: pointer;
  margin: 10px 0;
  
  /* Hard 3D pixelated edge transition */
  box-shadow: 
    inset -3px -3px 0px 0px #0a0a0a,
    inset 3px 3px 0px 0px #242424,
    0 3px 0px -1px #000, 0 -3px 0px -1px #000,
    3px 0px 0px -1px #000, -3px 0px 0px -1px #000;
}

button:hover, a[role="button"]:hover {
  background-color: #1c1d20;
  color: var(--color-gold);
}

button:active, a[role="button"]:active {
  box-shadow: 
    inset 3px 3px 0px 0px #0a0a0a,
    inset -3px -3px 0px 0px #242424,
    0 3px 0px -1px #000, 0 -3px 0px -1px #000,
    3px 0px 0px -1px #000, -3px 0px 0px -1px #000;
}

/* --- Custom Styled Semantic Lists --- */
ul, ol {
  margin-bottom: 1.5em;
  padding-left: 20px;
}

li {
  margin-bottom: 0.5em;
  color: #e2e4e9;
}

ul {
  list-style: none;
}

/* Solid block bullet matching our accent tone */
ul li::before {
  content: "■";
  color: var(--color-gold);
  display: inline-block;
  width: 1em;
  margin-left: -1em;
  font-size: 0.75em;
  vertical-align: middle;
}

/* --- Clean Tables (Self-contained Layout) --- */
table {
  margin: 8px auto;
  width: 70%;
  background-color: var(--color-dark);
  outline: 2px solid #000;
}

nav table {
  margin: 8px;
  width: auto;
  background-color: none;
}

th, td {
  padding: 10px 15px;
  text-align: left;
  border: 1px solid #1f2022;
}

nav table, nav th, nav td {
  padding: 2px 6px;
  outline: 0px solid #000;
  width: auto;
}

th {
  font-weight: black;
  text-transform: uppercase;
  font-size: 1rem;
  background-color: #1a1b1d;
  color: var(--color-gold);
  width: 30%;
}

tr:nth-child(even) td {
  background-color: #171719;
}

tr:hover td {
  background-color: #1c1d20;
}
