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;
}

/* =========================
   LOGIN (OVERLAPPING PANELS)
   Matches your site style
   ========================= */

/* container for layering */
.login-stack {
  position: relative;
  width: min(380px, 92vw);
  margin: 60px auto;
}

/* base login panel style (uses your site panel look) */
.login-panel {
  background: #3a1a1a;
  border: 2px solid #140909;
  box-shadow: 0 0 0 2px #6b3434 inset;
  padding: 14px;

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

/* back panel (purely visual) */
.login-panel--back {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;

  /* make it look like an empty "window" behind */
  height: 280px;
  width: 100%;

  /* slightly darker so the overlap reads clearly */
  background: #2f1414;

  opacity: 1;
}

/* front panel (actual form) */
.login-panel--front {
  position: relative;
  z-index: 2;
}

/* title */
.login-title {
  margin: 0 0 14px;
  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;
}

/* fields */
.login-field {
  margin-bottom: 12px;
}

.login-field label {
  display: block;
  margin-bottom: 6px;
  color: #e6caa8;

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

.login-field input {
  width: 100%;
  padding: 8px;

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

  color: #ffe6d7;
  font-family: inherit;
  font-size: 10px;
}

.login-field input::placeholder {
  color: #b88f7c;
}

/* checkbox row */
.login-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 14px;

  color: #ffe6d7;
  font-size: 9px;

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

.login-checkbox input {
  accent-color: #ffe6d7;
}

/* button matches your .ui-btn vibe */
.login-button {
  width: 100%;
  padding: 10px 0;

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

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

  cursor: pointer;

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

.login-button:hover {
  transform: translateY(-1px);
}

/* links */
.login-links {
  margin-top: 14px;
  text-align: center;
  font-size: 8px;
}

.login-links a {
  color: #ffe6d7;
  text-decoration: none;

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

.login-links a:hover {
  text-decoration: underline;
}



