:root {
  --red: #a9161c;
  --red-dark: #69080c;
  --gold: #d5b900;
  --ink: #151515;
  --paper: #e5e2dc;
  --line: #aaa49a;
  --steel: #3f4448;
  --shell: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: #292724;
  background:
    linear-gradient(rgba(255,255,255,.03), rgba(0,0,0,.06)),
    repeating-linear-gradient(0deg, #c9c5bc 0, #c9c5bc 1px, #d4d0c8 1px, #d4d0c8 3px);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
.shell { width: min(calc(100% - 36px), var(--shell)); margin: 0 auto; }

.top-strip {
  height: 34px;
  color: #d9d9d9;
  background: #0f0f0f;
  border-bottom: 1px solid #3c3c3c;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 1.4px;
}
.top-strip__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.top-strip__right { color: #928f89; }

.masthead {
  min-height: 440px;
  position: relative;
  overflow: hidden;
  color: white;
  background: #202020 url('assets/palm.png') center 53% / cover no-repeat;
  border-bottom: 6px solid var(--gold);
}
.masthead::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.66) 38%, rgba(0,0,0,.12) 70%);
}
.masthead__overlay {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgba(0,0,0,.08) 3px, rgba(0,0,0,.08) 4px);
}
.masthead__content { position: relative; z-index: 1; min-height: 440px; display: flex; align-items: center; gap: 34px; }
.logo { width: 285px; height: 285px; object-fit: contain; filter: drop-shadow(0 4px 3px rgba(0,0,0,.75)); }
.masthead__copy { max-width: 600px; text-shadow: 0 2px 2px #000; }
.eyebrow { margin: 0 0 8px; color: #e0c600; font-size: 12px; font-weight: 900; letter-spacing: 1.8px; }
.masthead h1 { margin: 0; font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif; font-size: clamp(42px, 6vw, 72px); line-height: .98; letter-spacing: .5px; text-transform: uppercase; }
.masthead__copy > p:not(.eyebrow) { margin: 16px 0 22px; color: #e8e8e8; font-size: 20px; }
.masthead__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.button {
  display: inline-block;
  padding: 12px 18px;
  text-decoration: none;
  color: white;
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: inset 0 1px rgba(255,255,255,.28), 0 2px 4px rgba(0,0,0,.55);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
}
.button--red { background: linear-gradient(#c7252d, #7e0d12); }
.button--steel { background: linear-gradient(#686d72, #303438); }
.button:hover { filter: brightness(1.12); }

.main-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(#4f4f4f, #252525 48%, #171717 49%);
  border-top: 1px solid #666;
  border-bottom: 1px solid #000;
  box-shadow: 0 3px 7px rgba(0,0,0,.45);
}
.main-nav__inner { min-height: 52px; display: flex; }
.main-nav a {
  display: grid;
  place-items: center;
  min-width: 125px;
  padding: 0 18px;
  color: #f1f1f1;
  text-decoration: none;
  border-left: 1px solid #111;
  border-right: 1px solid #4a4a4a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.25px;
}
.main-nav a:hover { background: linear-gradient(#c2232a, #7f0d12); }

.content-band { padding: 34px 0 46px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: start; }
.layout__main { min-width: 0; }
.panel, .side-box, .server-card {
  background: #f3f1ec;
  border: 1px solid #9f9a90;
  box-shadow: 0 2px 6px rgba(0,0,0,.25), inset 0 1px #fff;
}
.panel { margin-bottom: 24px; }
.panel__title {
  padding: 11px 15px;
  color: white;
  background: linear-gradient(#4a4d50, #252729);
  border-bottom: 4px solid var(--red);
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.4px;
}
.panel__body { padding: 20px 22px; }
.lead { margin-top: 0; font-size: 17px; font-weight: bold; color: #3b3935; }

.server-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 24px; }
.server-card { overflow: hidden; }
.server-card__header {
  min-height: 89px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  color: white;
  background: linear-gradient(145deg, #3f4244, #18191a);
  border-bottom: 4px solid var(--gold);
}
.server-card--rp .server-card__header { border-bottom-color: var(--red); }
.status-light { width: 13px; height: 13px; flex: 0 0 auto; border-radius: 50%; background: #6dc940; border: 1px solid #285e14; box-shadow: 0 0 7px #7dff42; }
.server-card__type { display: block; color: #d8c500; font-size: 10px; font-weight: 900; letter-spacing: 1.4px; }
.server-card h2 { margin: 3px 0 0; font-family: 'Arial Narrow', Arial, sans-serif; font-size: 21px; line-height: 1.1; text-transform: uppercase; }
.server-card__image { height: 185px; background-position: center; background-size: cover; border-bottom: 1px solid #817d75; }
.server-card__image--palm { background-image: url('assets/palm.png'); }
.server-card__image--pookie { background-image: url('assets/pookie-header.png'); }
.server-card__body { padding: 17px; }
.server-card__body > p { min-height: 74px; }
.server-meta { margin: 0 0 15px; border-top: 1px solid #c3beb5; }
.server-meta > div { display: grid; grid-template-columns: 78px 1fr; gap: 9px; padding: 6px 0; border-bottom: 1px solid #c3beb5; font-size: 12px; }
.server-meta dt { color: #6d6961; font-weight: bold; text-transform: uppercase; }
.server-meta dd { margin: 0; font-weight: bold; overflow-wrap: anywhere; }
.connect-box { display: flex; border: 1px solid #6f6c66; box-shadow: inset 0 1px 2px rgba(0,0,0,.25); background: #252525; }
.connect-box code { min-width: 0; flex: 1; padding: 10px; color: #f0f0f0; font: 11px Consolas, monospace; overflow-x: auto; white-space: nowrap; }
.copy-button {
  border: 0;
  border-left: 1px solid #111;
  padding: 0 12px;
  color: white;
  background: linear-gradient(#b91f26, #760b10);
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}
.copy-button:hover { filter: brightness(1.15); }

.feature-list { display: grid; gap: 1px; padding: 0; background: #c3beb5; }
.feature { display: grid; grid-template-columns: 65px 1fr; align-items: center; gap: 14px; padding: 18px; background: #f3f1ec; }
.feature__number { font-family: Impact, sans-serif; font-size: 34px; color: var(--red); text-align: center; }
.feature h3 { margin: 0 0 2px; font-size: 16px; text-transform: uppercase; }
.feature p { margin: 0; color: #5b5750; }

.layout__side { display: grid; gap: 18px; }
.side-box h2 { margin: 0; padding: 10px 12px; color: white; background: linear-gradient(#4e5052, #242628); border-bottom: 3px solid var(--gold); font-size: 12px; letter-spacing: 1.2px; }
.side-box__body { padding: 14px; font-size: 13px; }
.side-box__body p { margin: 0 0 9px; }
kbd { padding: 2px 6px; border: 1px solid #999; border-bottom-width: 2px; border-radius: 2px; background: #fff; font: 11px Consolas, monospace; }
.network-list { display: grid; gap: 12px; }
.network-list > div { position: relative; padding-left: 19px; }
.network-list strong, .network-list small { display: block; }
.network-list small { color: #777168; }
.dot { position: absolute; left: 0; top: 5px; width: 9px; height: 9px; border-radius: 50%; }
.dot--green { background: #5fbf31; box-shadow: 0 0 5px rgba(95,191,49,.8); }
.side-box--notice h2 { border-bottom-color: var(--red); }

.gallery-section {
  padding: 50px 0 58px;
  color: #e9e9e9;
  background:
    linear-gradient(rgba(0,0,0,.94), rgba(0,0,0,.92)),
    url('assets/pookie-header.png') center / cover fixed;
  border-top: 1px solid #444;
  border-bottom: 6px solid var(--red);
}
.section-heading { margin-bottom: 22px; }
.section-heading span { color: var(--gold); font-size: 11px; font-weight: bold; letter-spacing: 1.5px; }
.section-heading h2 { margin: 3px 0 0; font-family: Impact, sans-serif; font-size: 38px; letter-spacing: .5px; text-transform: uppercase; }
.gallery { display: grid; grid-template-columns: 1.65fr 1fr; gap: 15px; }
.gallery figure { margin: 0; background: #171717; border: 1px solid #4b4b4b; box-shadow: 0 4px 12px #000; }
.gallery__large { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; max-height: 390px; object-fit: cover; }
.gallery__large img { min-height: 100%; }
.gallery__brand img { height: 210px; object-fit: contain; padding: 16px; background: #080808; }
.gallery figcaption { padding: 10px 12px; border-top: 1px solid #3b3b3b; color: #bcbcbc; font-size: 12px; }

.connect-section { padding: 38px 0; color: white; background: linear-gradient(135deg, #9f1117, #5c080b); border-top: 1px solid #d05055; }
.connect-section__inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.connect-section h2 { margin: 2px 0 0; font-family: Impact, sans-serif; font-size: 34px; font-weight: normal; letter-spacing: .4px; text-transform: uppercase; }
.connect-section__commands { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.command-button {
  min-width: 245px;
  padding: 11px 14px;
  color: white;
  text-align: left;
  background: linear-gradient(#4b4d50, #202123);
  border: 1px solid #0e0e0e;
  box-shadow: inset 0 1px rgba(255,255,255,.25), 0 2px 4px rgba(0,0,0,.45);
  cursor: pointer;
}
.command-button span { display: block; color: var(--gold); font-size: 10px; font-weight: bold; letter-spacing: 1.3px; }
.command-button code { font: 12px Consolas, monospace; }
.command-button:hover { filter: brightness(1.15); }

footer { padding: 24px 0; color: #999; background: #111; border-top: 1px solid #343434; }
.footer__inner { display: grid; grid-template-columns: 70px auto 1fr; gap: 15px; align-items: center; }
.footer__inner img { width: 64px; height: 64px; object-fit: contain; }
.footer__inner strong { color: #ddd; letter-spacing: 1px; }
.footer__inner p { margin: 2px 0; font-size: 11px; }
.footer__legal { max-width: 460px; justify-self: end; text-align: right; }
.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  padding: 11px 15px;
  color: white;
  background: #202020;
  border: 1px solid #555;
  border-left: 4px solid #69c636;
  box-shadow: 0 4px 12px rgba(0,0,0,.45);
  font-size: 12px;
  font-weight: bold;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: .2s ease;
}
.toast.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .masthead__content { flex-direction: column; justify-content: center; text-align: center; padding: 32px 0; }
  .logo { width: 210px; height: 210px; }
  .masthead::before { background: rgba(0,0,0,.65); }
  .masthead__actions { justify-content: center; }
  .layout { grid-template-columns: 1fr; }
  .layout__side { grid-template-columns: repeat(3, 1fr); }
  .connect-section__inner { align-items: flex-start; flex-direction: column; }
  .connect-section__commands { justify-content: flex-start; }
}

@media (max-width: 680px) {
  .top-strip__right { display: none; }
  .main-nav__inner { overflow-x: auto; }
  .main-nav a { min-width: 98px; padding: 0 12px; }
  .server-grid { grid-template-columns: 1fr; }
  .layout__side { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__large { grid-row: auto; }
  .gallery__large img, .gallery img { min-height: 220px; height: 220px; }
  .connect-section__commands, .command-button { width: 100%; }
  .footer__inner { grid-template-columns: 55px 1fr; }
  .footer__legal { grid-column: 1 / -1; justify-self: start; text-align: left; }
}
