:root {
  color-scheme: dark;
  --sky: #7aa4b7;
  --ink: #eee8d0;
  --muted: #c7c0a5;
  --shadow: #17140f;
  --stone: #5a5a52;
  --stone-dark: #353630;
  --grass: #65843a;
  --grass-dark: #354b21;
  --dirt: #775238;
  --wood: #7a522d;
  --gold: #e0bc52;
}

* { box-sizing: border-box; }
html { background: #1d2818; color: var(--ink); font-family: "Courier New", Courier, monospace; image-rendering: pixelated; }
body { margin: 0; min-height: 100vh; background-color: #26351f; background-image: linear-gradient(90deg, rgba(0,0,0,.12) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px); background-size: 24px 24px; }
a { color: inherit; }
.wrap { width: min(1080px, calc(100% - 32px)); margin-inline: auto; }

.skyline { height: 170px; background-color: var(--sky); background-image: linear-gradient(90deg, transparent 0 6%, rgba(255,255,255,.58) 6% 14%, transparent 14% 24%, rgba(255,255,255,.38) 24% 31%, transparent 31%), linear-gradient(0deg, #4e702e 0 27px, transparent 27px), linear-gradient(90deg, #354c29 0 9%, transparent 9% 13%, #354c29 13% 25%, transparent 25% 31%, #354c29 31% 39%, transparent 39% 62%, #354c29 62% 75%, transparent 75% 82%, #354c29 82% 100%); background-size: 390px 70px, 100% 100%, 760px 85px; background-position: 0 25px, bottom, bottom; background-repeat: repeat-x, no-repeat, repeat-x; border-bottom: 10px solid #3f5f29; box-shadow: inset 0 -18px 0 rgba(39,63,25,.55); }
.skyline.short { height: 86px; }

.masthead { background: #211d17; border-bottom: 5px solid #10100d; box-shadow: 0 5px 0 rgba(0,0,0,.32); }
.header-inner { min-height: 106px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.logo { display: grid; grid-template-columns: auto auto; color: white; text-decoration: none; font-weight: 900; font-family: Impact, "Arial Black", sans-serif; font-size: 2rem; letter-spacing: 1px; line-height: .85; text-shadow: 3px 3px 0 #111, -1px -1px 0 #111; transform: rotate(-1deg); }
.logo span:first-child { color: #d9d5c4; }
.logo span:nth-child(2) { color: #6f9f3a; }
.logo small { grid-column: 1 / -1; margin-top: 9px; color: #b8aa83; font: 700 .6rem "Courier New", monospace; letter-spacing: 2px; text-align: center; text-shadow: none; }
nav { display: flex; flex-wrap: wrap; gap: 8px; }
nav a { padding: 11px 15px 9px; border: 2px solid transparent; color: #c9c1a8; text-decoration: none; font-weight: 700; font-size: .88rem; text-transform: uppercase; }
nav a:hover, nav a.active { color: white; background: #435d2a; border-color: #668b3e #293c1a #293c1a #668b3e; }

main { padding-block: 38px 70px; }
.block-frame { border: 5px solid #2d2c27; outline: 3px solid #11110e; box-shadow: inset 4px 4px 0 rgba(255,255,255,.15), inset -4px -4px 0 rgba(0,0,0,.35), 8px 8px 0 rgba(0,0,0,.25); }
.hero { display: grid; grid-template-columns: 1.55fr .85fr; gap: 36px; padding: clamp(28px, 5vw, 58px); background-color: #4d4c45; background-image: linear-gradient(135deg, rgba(255,255,255,.055) 25%, transparent 25%), linear-gradient(315deg, rgba(0,0,0,.13) 25%, transparent 25%); background-size: 30px 30px; }
.kicker { margin: 0 0 14px; color: var(--gold); font-size: .78rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
h1, h2 { font-family: Impact, "Arial Black", sans-serif; letter-spacing: .5px; }
h1 { margin: 0; color: white; font-size: clamp(2.4rem, 6vw, 5.2rem); line-height: .95; font-weight: 400; text-transform: uppercase; text-shadow: 4px 4px 0 #222; }
.hero-copy > p:not(.kicker) { max-width: 650px; color: #ddd5bd; font-family: Georgia, serif; font-size: 1.13rem; line-height: 1.65; }
.address-box { width: fit-content; margin-top: 28px; padding: 14px 18px; background: #171713; border: 3px solid #777468; box-shadow: inset 3px 3px 0 #050505, inset -2px -2px 0 #8c897c; }
.address-box span, .address-box small { display: block; color: #a9a18b; font-size: .72rem; }
.address-box strong { display: block; margin: 5px 0; color: #dff39b; font-size: clamp(1.2rem, 3vw, 1.7rem); }
.address-box.compact { margin-top: 14px; }

.server-board { position: relative; align-self: center; padding: 28px 25px 22px; color: #2a1b10; background-color: #b58c55; background-image: linear-gradient(90deg, rgba(84,50,21,.15) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.1) 50%, transparent 50%); background-size: 17px 100%, 100% 8px; border: 7px solid #55391f; outline: 3px solid #24170e; box-shadow: inset 4px 4px 0 #d0aa75, inset -4px -4px 0 #76512c, 7px 7px 0 rgba(0,0,0,.35); transform: rotate(1deg); }
.server-board h2 { margin: 0 0 18px; text-align: center; font-size: 1.45rem; text-transform: uppercase; }
.server-board dl { margin: 0; }
.server-board dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 2px dashed rgba(60,37,18,.38); }
.server-board dt { font-weight: 700; }
.server-board dd { margin: 0; text-align: right; }
.motd { margin-bottom: 0; font: italic .86rem Georgia, serif; text-align: center; }
.torch { position: absolute; top: -28px; width: 11px; height: 34px; background: #684322; border: 2px solid #2a1c10; }
.torch::before { content: ""; position: absolute; left: -6px; top: -15px; width: 19px; height: 19px; background: #f6c743; border: 3px solid #c95d21; box-shadow: 0 0 14px #f4a126; }
.torch-left { left: 22px; transform: rotate(-7deg); }.torch-right { right: 22px; transform: rotate(7deg); }

.section { margin-top: 60px; }
.section-title { display: flex; align-items: center; gap: 15px; margin-bottom: 24px; color: #e5ddc1; text-transform: uppercase; font-weight: 900; letter-spacing: 2px; text-align: center; }
.section-title::before, .section-title::after { content: ""; flex: 1; height: 4px; background: #12170f; border-top: 1px solid #60734b; }
.section-title.left::before { display: none; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pixel-card { padding: 28px; border: 4px solid #1c1d19; box-shadow: inset 3px 3px 0 rgba(255,255,255,.14), inset -3px -3px 0 rgba(0,0,0,.3), 6px 6px 0 rgba(0,0,0,.22); }
.grass-card { background: linear-gradient(#698c3e 0 15px, #66472f 15px); }
.stone-card { background-color: #555650; background-image: linear-gradient(135deg, rgba(255,255,255,.05) 25%, transparent 25%); background-size: 22px 22px; }
.wood-card { background-color: #755032; background-image: repeating-linear-gradient(0deg, transparent 0 18px, rgba(45,25,12,.28) 19px 21px); }
.pixel-card h2 { margin: 20px 0 8px; color: white; font-size: 1.35rem; font-weight: 400; text-transform: uppercase; text-shadow: 2px 2px 0 #222; }
.pixel-card p { margin-bottom: 0; color: #eee5cb; font: 1rem/1.55 Georgia, serif; }
.pixel-icon { display: block; width: 48px; height: 48px; background: #c2c2b9; border: 5px solid #25251f; box-shadow: inset -6px -6px 0 #77776f, 4px 4px 0 rgba(0,0,0,.25); }
.shield { border-radius: 4px 4px 18px 18px; background: #758aa1; }.chest { height: 38px; margin-top: 10px; background: #af7b3c; box-shadow: inset 0 12px 0 #855526, inset 0 16px 0 #302115, 4px 4px 0 rgba(0,0,0,.25); }.pickaxe { width: 50px; height: 13px; margin: 18px 0; background: #9f7b4a; transform: rotate(-42deg); box-shadow: 0 -10px 0 -4px #c7c5b8; }

.news-and-map { display: grid; grid-template-columns: 1.4fr .8fr; gap: 42px; }
.news-post { padding: 0 0 25px; margin-bottom: 25px; border-bottom: 3px dashed #556347; }
.news-post time { color: #9fb17c; font-size: .8rem; }.news-post h2 { margin: 8px 0; font-size: 1.45rem; font-weight: 400; text-transform: uppercase; }.news-post p { margin: 0; color: var(--muted); font: 1rem/1.6 Georgia, serif; }
.notice-board { padding: 28px; color: #2b1d11; background: #b68b54; border: 6px solid #52361e; outline: 3px solid #17100a; box-shadow: inset 4px 4px 0 #d0ab77, inset -4px -4px 0 #78532e; transform: rotate(-.5deg); }
.notice-board h2 { margin-top: 0; text-transform: uppercase; }.notice-board p { padding-bottom: 13px; border-bottom: 2px dashed rgba(60,37,18,.35); font: 1rem/1.45 Georgia, serif; }
.stone-button { display: inline-block; padding: 12px 18px; color: white; background: #62635d; border: 3px solid #282924; box-shadow: inset 3px 3px 0 #8e8f87, inset -3px -3px 0 #3c3d39, 3px 3px 0 rgba(0,0,0,.35); text-decoration: none; font-weight: 900; text-transform: uppercase; }
.stone-button:hover { background: #6e8b43; }

.inner-page { max-width: 980px; }
.page-heading { padding: clamp(28px, 5vw, 52px); background: #4d4c45; }
.page-heading h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }.page-heading > p:last-child { max-width: 720px; margin-bottom: 0; color: #ddd5bd; font: 1.08rem/1.6 Georgia, serif; }
.steps, .rules-list { margin-top: 44px; }
.steps article, .rules-list article { display: grid; grid-template-columns: 66px 1fr; gap: 22px; padding: 24px 0; border-bottom: 4px solid #182015; }
.step-number, .rules-list article > span { display: grid; place-items: center; width: 58px; height: 58px; color: #f3e6b2; background: #48632e; border: 4px solid #172010; box-shadow: inset 3px 3px 0 #709348, inset -3px -3px 0 #2c3e1e; font: 2rem Impact, sans-serif; }
.steps h2, .rules-list h2 { margin: 0 0 8px; color: white; font-size: 1.45rem; font-weight: 400; text-transform: uppercase; }
.steps p, .rules-list p { margin: 0; color: var(--muted); font: 1.03rem/1.6 Georgia, serif; }
code { padding: 2px 6px; color: #e4efa9; background: #171b14; border: 1px solid #566246; font: .9rem "Courier New", monospace; }
.two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.text-card h2 { margin-top: 0; }.text-card p + p { margin-top: 18px; }.tip { padding: 12px; background: rgba(0,0,0,.18); border-left: 5px solid var(--gold); }
.command-list { margin: 16px 0 0; padding: 0; list-style: none; }.command-list li { display: grid; grid-template-columns: 105px 1fr; gap: 12px; padding: 10px 0; border-bottom: 2px dashed rgba(255,255,255,.16); color: #e5ddc5; font-family: Georgia, serif; }
.rules-list article > span { color: #d9c077; background: #514b3c; box-shadow: inset 3px 3px 0 #776f59, inset -3px -3px 0 #312e26; font-size: 1.5rem; }
.punishment { padding: 32px; background: #4d4c45; }.punishment h2 { margin-top: 0; text-transform: uppercase; }.punishment p { color: #ddd5bd; font: 1.03rem/1.65 Georgia, serif; }.signature { text-align: right; font-style: italic; }
.not-found { min-height: 520px; display: grid; place-items: center; }.not-found > div { max-width: 700px; padding: 45px; text-align: center; background: #4d4c45; }.not-found h1 { font-size: clamp(2rem, 6vw, 4rem); }.not-found p:not(.error-code) { color: var(--muted); font: 1.1rem/1.6 Georgia, serif; }.error-code { margin: 0; color: var(--gold); font: 4rem Impact, sans-serif; }

footer { color: #a9a18a; background: #171914; border-top: 8px solid #0e100c; }
.footer-inner { min-height: 125px; display: flex; justify-content: space-between; align-items: center; gap: 30px; font-size: .82rem; }.footer-inner strong { color: #d8d1b9; font-size: 1rem; }.footer-note { text-align: right; line-height: 1.55; }

@media (max-width: 800px) {
  .skyline { height: 110px; }.skyline.short { height: 60px; }
  .header-inner { padding: 18px 0; align-items: flex-start; }.logo { font-size: 1.65rem; }
  nav { justify-content: flex-end; } nav a { padding: 8px; font-size: .75rem; }
  .hero, .news-and-map, .two-columns { grid-template-columns: 1fr; }
  .server-board { margin-top: 18px; transform: none; }
  .feature-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .wrap { width: min(100% - 20px, 1080px); }
  .header-inner { display: block; }.logo { width: fit-content; margin: 0 auto 18px; } nav { justify-content: center; }
  .hero { padding: 28px 18px; }.hero h1 { font-size: 2.65rem; }
  .address-box { width: 100%; }.address-box strong { overflow-wrap: anywhere; }
  .steps article, .rules-list article { grid-template-columns: 48px 1fr; gap: 14px; }.step-number, .rules-list article > span { width: 46px; height: 46px; font-size: 1.35rem; }
  .command-list li { grid-template-columns: 1fr; }
  .footer-inner { display: block; padding: 25px 0; }.footer-note { text-align: left; }
}
