body {
  background-color: #36211b;
}


.banner {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  image-rendering: pixelated;
}


.banner-img {
  width: 100%;
  display: block;
  image-rendering: pixelated;
}

.logo-link {
  position: absolute;
 
  left: 2%;
  top: 20%;
 
  height: clamp(70px, 15vw, 70px);
  width: auto;

  z-index: 3;


  image-rendering: pixelated;

}

.nav {
  display: flex;
  gap: 12px;
  justify-content: center;

  margin: 6px auto 12px;
  max-width: 1100px;
  padding: 10px;

  background: #3a1a1a;
  border: 2px solid #140909;
  box-shadow: 0 0 0 2px #6b3434 inset;
}

.nav-btn {
  display: inline-block;
  padding: 8px 16px;

  background: #2f1414;
  border: 2px solid #140909;
  box-shadow: 0 0 0 2px #6b3434 inset;

  color: #ffe6d7;
  text-decoration: none;
  font-family: "Press Start 2P", monospace;
  font-size: 9px;

  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
}

.nav-btn:hover {
  transform: translateY(-1px);
}


.content {
  min-height: 520px;
  max-width: 1100px;
  margin: 0 auto;

  background: #4b2121;
  border: 2px solid #140909;
  box-shadow: 0 0 0 2px #6b3434 inset;
}

.content-inner {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;

  color: #f2d8c6;
  font-size: 14px;
  line-height: 1.5;
}


.panel {
  background: #3a1a1a;
  border: 2px solid #140909;
  box-shadow: 0 0 0 2px #6b3434 inset;
  padding: 12px;
}

.panel-title {
  margin: 0 0 10px;
  font-family: "Press Start 2P", monospace;
  font-size: 14px;
  color: #ffe6d7;
  
  text-align: center;

  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
}

.panel-body {
  background: #2f1414;
  border: 2px solid #140909;
  box-shadow: 0 0 0 2px #6b3434 inset;
  padding: 12px;
}


.welcome-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  
  justify-content: center;
}

.ui-btn {
  padding: 8px 12px;
  background: #4b2121;
  border: 2px solid #140909;
  box-shadow: 0 0 0 2px #6b3434 inset;

  font-family: "Press Start 2P", monospace;
  font-size: 9px;
  color: #ffe6d7;
  text-decoration: none;
}

.ui-btn:hover {
  transform: translateY(-1px);
}


.footer {
  margin: 12px auto 0;
  max-width: 1100px;
  padding: 10px 14px;

  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;

  background: #3a1a1a;
  border: 2px solid #140909;
  box-shadow: 0 0 0 2px #6b3434 inset;

  font-family: "Press Start 2P", monospace;
  font-size: 7px;
  color: #f2d8c6;

  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
}

.footer-left,
.footer-right {
  margin: 2px 0;
}


@media (max-width: 768px) {
  .nav {
    flex-wrap: wrap;
    gap: 6px;
  }

  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}


.site-frame {
  max-width: 1120px;
  margin: 16px auto;
  padding: 8px;

  background: #2a1a15;

 
  image-rendering: pixelated;


  border: 2px solid #140909;

 
  box-shadow:
    0 0 0 2px #6b3434 inset,
    0 0 0 4px #140909 inset;
}

/* Prevent borders/padding from causing overflow */
*,
*::before,
*::after {
  box-sizing: border-box;
}


/* ==== Dashboard grid (3 boxes) ==== */
.dash-grid {
  display: grid;
  gap: 14px;

  grid-template-columns: 1fr 2fr;

  /* Left column stacked; right column is one big box */
  grid-template-areas:
    "forum  announce"
    "links  announce";
}

/* Map boxes by HTML order:
   1 = Forum Activity
   2 = Quick Links
   3 = Site Announcements
*/
.dash-grid > :nth-child(1) { grid-area: forum; }
.dash-grid > :nth-child(2) { grid-area: links; }
.dash-grid > :nth-child(3) { grid-area: announce; }

/* Box base styling */
.dash-box {
  display: flex;
  flex-direction: column;

  background: #3a1a1a;
  border: 2px solid #140909;
  box-shadow: 0 0 0 2px #6b3434 inset;
  padding: 10px;

  width: 100%;
  min-width: 0;
}

.dash-title {
  margin: 0 0 10px;
  font-family: "Press Start 2P", monospace;
  font-size: 12px;
  text-align: center;
  color: #ffe6d7;

  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
}

/* Inner panel */
.dash-body {
  background: #2f1414;
  border: 2px solid #140909;
  box-shadow: 0 0 0 2px #6b3434 inset;
  padding: 12px;

  width: 100%;
  min-width: 0;
}

/* Heights */
.dash-grid > :nth-child(1) .dash-body { min-height: 420px; } /* Forum Activity */
.dash-grid > :nth-child(2) .dash-body { min-height: 220px; } /* Quick Links */
.dash-grid > :nth-child(3) .dash-body { min-height: 660px; } /* Site Announcements */

/* Responsive: stack cleanly */
@media (max-width: 900px) {
  .dash-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "forum"
      "links"
      "announce";
  }
}

/* Makes each dash box a vertical flex layout */
.dash-box {
  display: flex;
  flex-direction: column;
}

/* Makes the inner panel fill the remaining height */
.dash-body {
  flex: 1;
  min-height: 0;
}
