    /* ... Your existing CSS styles unchanged ... */
    body {
      font-family: 'Roboto', sans-serif;
      background-image: url('https://cdn-play.tv2i.dk/c9e3691a-6164-4c3d-8525-1a6fb353f865.jpg?auto=format%2Ccompress&fm=webp&rect=0%2C0%2C1271%2C1830');
      background-size: 1800px 1800px;
      background-position: center;
      background-repeat: no-repeat;
      background-attachment: fixed;
      color: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      min-height: 80vh;
      padding: 20px;
    }
    body::before {
      content: "";
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0, 0, 0, 0.75);
      z-index: -1;
    }
    .rules-button, .discord-button, .chatroom-button, .fivem-button, .shop-button, .yt-button, .banappeal-button, .managestaff-button{
      position: absolute;
      top: 20px;
      display: flex;
      align-items: center;
      gap: 8px;
      background: #23272a;
      padding: 12px 12px;
      border-radius: 10px;
      color: white;
      text-decoration: none;
      font-weight: bold;
      box-shadow: 0 0 10px rgba(0,0,0,0.5);
      transition: background 0.3s;
    }
    .rules-button:hover, .discord-button:hover, .fivem-button:hover, .shop-button:hover, .yt-button:hover, .managestaff-button:hover, .banappeal-button:hover, .chatroom-button:hover {
      background: #2e3136;
    }
    .rules-button img, .discord-button img, .chatroom-button img, .fivem-button img, .shop-button img, .yt-button img,.banappeal-button img, .managestaff-button img{
      width: 24px;
      height: 24px;
    }
    .rules-button { left: 20px; }
    .discord-button { left: 125px; }
    .chatroom-button { left: 248px; }
    .fivem-button { left: 390px; }
    .shop-button { left: 496px; }
    .yt-button { left: 600px; }
    .managestaff-button { right: 20px; }
    .banappeal-button { right: 235px; }

    .profile {
      background: #23272a;
      padding: 20px;
      border-radius: 12px;
      text-align: center;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.75);
      margin-bottom: 40px;
    }
    .back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #23272a;
    padding: 8px 12px;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    transition: background 0.3s;
    width: fit-content;
    font-size: 14px;
  }

  .back-button:hover {
    background: #2e3136;
  }

  .back-button img {
    width: 24px;
    height: 24px;
  }
    img {
      border-radius: 50%;
      margin-bottom: 10px;
    }
    .logout, .profiled {
      margin-top: 10px;
      display: inline-block;
      background: #f04747;
      padding: 10px 20px;
      border-radius: 8px;
      text-decoration: none;
      color: white;
      font-weight: bold;
    }
    .logout:hover, .profiled:hover {
      background: #c03535;
    }
    .link-container {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
      justify-content: center;
    }
    .fivemserver2 {
      background: #23272a;
      padding: 20px;
      border-radius: 20px;
      text-align: center;
      box-shadow: 0 4px 12px rgba(0,0,0,0.75);
      width: 180px;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .fivemserver2 img {
      margin-bottom: 10px;
    }

    #live-chat {
  position: fixed;
  top: 100px;
  right: 20px;
  width: 320px;
  background: #23272a;
  border-radius: 15px;
  padding: 15px;
  color: white;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  max-height: 80vh;
  overflow-y: auto;
  z-index: 1000;
}

#live-chat h3 {
  margin-top: 0;
  font-size: 18px;
  color: #00afff;
}

#chat-content .post {
  background: #2c2f33;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 10px;
}

#chat-content img {
  max-width: 100%;
  margin-top: 5px;
}

#privacy,
#copyright {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: #888;
  font-size: 14px;
  font-family: sans-serif;
  z-index: 10000;
  text-align: center;
  background-color: transparent;
  pointer-events: auto;
}

#privacy {
  bottom: 30px; /* Slightly above copyright */
}

#privacy a {
  color: #00f;
  text-decoration: underline;
}

body.light-theme #privacy a {
  color: #0077cc;
}

.layout {
  display: flex;
  gap: 20px;
}

.sidebar {
  width: 250px;
}

#queue {
  list-style: none;
  padding: 0;
}

#queue li {
  background: #2c2c2c;
  padding: 8px;
  margin-bottom: 5px;
  border-radius: 5px;
  font-size: 14px;
}
#results li {
  background: #2c2c2c;
  padding: 8px;
  margin-bottom: 5px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  font-size: 14px;
}

#results li img {
  margin-right: 10px;
}

.dashboard-button {
  display: inline-flex;
  align-items: center;
  background-color: #7289DA;
  color: white;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin: 10px 0;
  transition: background 0.3s;
}
.dashboard-button img {
  width: 22px;
  height: 22px;
  margin-right: 10px;
}
.dashboard-button:hover {
  background-color: #5b6eae;
}
/* --- Light/Dark Theme Toggle Overrides (Add at the end) --- */

/* Light theme override */
body.light-theme {
  background-image: none; /* remove dark bg image */
  background-color: #f5f5f5; /* light background color */
  color: #222; /* dark text */
}

body.light-theme::before {
  background: rgba(255, 255, 255, 0.85); /* light overlay instead of dark */
}

/* Optional: invert buttons colors for light theme */
body.light-theme .rules-button,
body.light-theme .discord-button,
body.light-theme .chatroom-button,
body.light-theme .fivem-button,
body.light-theme .shop-button,
body.light-theme .yt-button,
body.light-theme .banappeal-button,
body.light-theme .managestaff-button {
  background: #ddd;
  color: #222;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

body.light-theme .rules-button:hover,
body.light-theme .discord-button:hover,
body.light-theme .chatroom-button:hover,
body.light-theme .fivem-button:hover,
body.light-theme .shop-button:hover,
body.light-theme .yt-button:hover,
body.light-theme .managestaff-button:hover,
body.light-theme .banappeal-button:hover {
  background: #ccc;
}

/* Optional: adjust profile, back-button, logout buttons for light mode */
body.light-theme .profile,
body.light-theme .back-button,
body.light-theme .logout,
body.light-theme .profiled {
  background: #eee;
  color: #222;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

body.light-theme .back-button:hover,
body.light-theme .logout:hover,
body.light-theme .profiled:hover {
  background: #ddd;
}
.welcome-message {
  font-size: 15px;
  max-width: 800px;
  color: #ccc;
}

body.light-theme .welcome-message {
  color: #333;
}
