body {
  margin: 0;
  padding: 0;
  background: #2b2b2a url('homebackground.png') top center no-repeat;
  background-size: cover;
  background-attachment: scroll;
  color: #f6f6ef;
  font-family: Arial, sans-serif;
  min-height: 100vh;
  width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1 {
  margin-top: 40px;
  text-align: center;
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ffd339;
}

/* Example container backgrounds (add as needed) */
.forum-content-wrapper,
.cat-row,
.container,
.card,
.table-row {
  background: #2b2b2a !important;
  color: #f6f6ef;
  border-radius: 14px;
  box-shadow: 0 1.5px 8px 0 rgba(0,0,0,0.11);
}

/* Table header */
.cat-table th {
  background: none;
  color: #b29532;
  border-bottom: 2px solid #ffd339;
}

/* Table rows */
.cat-row {
  transition: box-shadow 0.16s;
}
.cat-row:hover {
  box-shadow: 0 4px 16px 0 rgba(235,198,30,0.16);
}

/* Table data */
.cat-table td {
  color: #f6f6ef;
}

/* Links */
a {
  color: #ffd339;
  text-decoration: none;
}
a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Auth button styles (unchanged, yellow accent kept) */
.auth-buttons {
  position: absolute;
  top: 28px;
  right: 40px;
  display: flex;
  gap: 26px;
  z-index: 999;
}
.auth-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #ffe44d;
  font-size: 0.97rem;
  font-weight: 600;
  transition: color 0.16s;
  opacity: 0.94;
  padding: 2px 2px 0 2px;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}
.auth-btn:hover {
  color: #fff;
  opacity: 1;
}

@media (max-width: 900px) {
  .chat-bubble { font-size: 1.12rem; padding: 17px 6vw; }
  h1 { font-size: 2.1rem; margin-top: 28px; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.3rem; margin-top: 18px; }
  .chat-bubble { font-size: 0.98rem; padding: 11px 5vw; margin-top: 20px; margin-bottom: 24px; }
  .auth-buttons { right: 10px; top: 10px; gap: 14px; }
  .auth-btn { font-size: 0.87rem; }
  .auth-btn::before { width: 22px; height: 22px; }
}
@media (max-width: 375px) {
  .chat-bubble { padding: 7px 2vw; }
}

/* Hide login/logout buttons as needed */
body.logged-in .auth-btn.login-btn,
body.logged-in .auth-btn.signup-btn {
  display: none !important;
}
body:not(.logged-in) .auth-btn.logout-btn {
  display: none !important;
}

/* Keyframes and h1 flicker styling retained as in your original */
h1 a {
  color: inherit;
  text-decoration: none;
  transition: text-shadow 0.2s;
}
h1 a:hover {
  color: #ffe44d;
  text-shadow:
    0 0 4px #ffe44d,
    0 0 10px #ffe44d,
    0 0 16px #43e6ff,
    1px -2px 8px #43e6ff,
    -2px 2px 16px #fff98e;
  animation: flicker 0.3s infinite alternate;
}
@keyframes flicker {
  0% {
    text-shadow:
      0 0 6px #ffe44d,
      0 0 20px #ffe44d,
      2px -2px 10px #43e6ff,
      -2px 2px 18px #fff98e;
  }
  40% {
    text-shadow:
      0 0 4px #ffe44d,
      1px 0 20px #43e6ff,
      0 0 8px #fff98e;
  }
  60% {
    text-shadow:
      0 0 12px #ffe44d,
      0 0 26px #43e6ff,
      2px 1px 18px #fff98e;
  }
  100% {
    text-shadow:
      0 0 9px #ffe44d,
      0 0 18px #43e6ff,
      -2px 2px 24px #fff98e;
  }
}