:root {  
  /* Background colors */
  --primary-bg: #121212;
  --secondary-bg: #1f1f1f;
  --card-bg: #2a2a2a;
  --highlight-bg: #2b2b2b;
  

  --accent: #1e90ff;       /* DodgerBlue */
  --accent-soft: #3399ff;  /* Soft blue for hover */
  --link-color: #00bfff;   /* Cyan-blue for links */
  
  /* Text colors */
  --text-main: #e0e0e0;
  --text-light: #b0b0b0;
  --text-muted: #828282;
  --text-bright: #ffffff;

  /* Button styles */
  --buttonx-bg: #2f2f2f;
  --button-bg: #1e90ff;       /* Blue button */
  --button-hover-bg: #3399ff; /* Lighter blue hover */
  --button-text: #ffffff;
  --button-active-bg: #0071ff; /* Deep blue active */

  /* Border and shadow effects */
  --border-color: #4a4a4a;
  --shadow-color: rgba(0, 0, 0, 0.4);

  /* Input fields */
  --input-bg: #2d2d2d;
  --input-text: #e0e0e0;
  --input-border: #444444;
  --input-focus-border: #1e90ff; /* Blue focus */

  /* Role colors (unchanged) */
  --admin: #ff3b3b;
  --supervisor: #3ecf8e;
  --developer: #ffc400;
  --moderator: #ff6f61;
  --solar: #30d5c8;
  --cosmic: #d9d9ff;
  --legend: #00ff88;
  --superpower: #6c5ce7;
  --poweruser: #00ff44;

  /* Like button (unchanged) */
  --like-bg: #0b8700;
  --like-text: #ffffff;
  --like-hover: #0e9e00;
  --like-glow: rgba(0, 255, 0, 0.3);
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

.hidden-content {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  box-shadow: 0 0 10px var(--shadow-color);
  padding: 1rem;
  margin: 1rem 0;
  color: var(--text-main);
  font-family: 'Segoe UI', sans-serif;
}
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #0a0f14;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: #374151;
    border-radius: 6px;
    border: 3px solid #0a0f14;
}

::-webkit-scrollbar-thumb:hover {
    background: #4b5563;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #374151 #0a0f14;
}
.hidden-content-title {
  font-size: 1rem;
  color: var(--accent-soft);
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 22px;
}
.hidden-content-title {
  /* font-size: 1rem; */
  /* color: var(--accent-soft); */
  /* margin-bottom: 0.75rem; */
  /* position: relative; */
  /* padding-left: 22px; */
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-color);
}

.hidden-content-title::before {
  content: "\f070"; /* Font Awesome eye-slash icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--accent-soft);
  font-size: 14px;
  position: absolute;
  left: 0;
  top: 1px;
}

.hidden-content-title::before {
  content: "\f070"; /* Font Awesome eye-slash icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--accent-soft);
  font-size: 14px;
  position: absolute;
  left: 0;
  top: 1px;
}
 .hidden-content-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--accent), transparent);
    border-radius: 2px;
  }
.hidden-content-body {
  background-color: var(--highlight-bg);
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-main);
}

body {

  color: var(--text-main);
  line-height: 1.6;
  background: radial-gradient(circle at center, #111827, #0f1722, #0a0f14);
}

a {
  text-decoration: none;
  color: inherit;
}

header,
.topbar {
  background-color: var(--secondary-bg);
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.left-header {
  display: flex;
  align-items: center;
  gap: 15px;
}

.menu-toggle {
  font-size: 22px;
  color: var(--text-light);
  cursor: pointer;
  display: none;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--accent);
}

nav {
  display: flex;
  flex-wrap: wrap;
}

nav a {
  margin: 0 15px;
  color: var(--text-light);
}

.user-nav {
  display: flex;
  gap: 10px;
}

.user-nav a {
  padding: 6px 14px;
  background-color: var(--card-bg);
  border-radius: 5px;
  color: var(--text-bright);
}

.notices {
  display: flex;
  gap: 20px;
  padding: 20px 30px;
  flex-wrap: wrap;
}

.notice-box {
  flex: 1;
  background-color: var(--highlight-bg);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 20px;
}

.notice-box h4 {
  color: var(--accent);
  margin-bottom: 10px;
}

.banner{

  --max-width: 1000px;               
  width: min(100%, var(--max-width)); 
  margin: 60px auto;                  


  aspect-ratio: 16 / 5;

  height: 100px;

  background: url(https://tools.xfernobb.shop/uploads/images/2025/09/13/W3VPEGSZEa_orig.png) center / cover no-repeat;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-bright);
  font-weight: bold;
  text-align: center;
  padding: clamp(8px, 2vw, 16px);
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;


  font-size: clamp(22px, 4vw, 48px);
}

*/
@supports not (aspect-ratio: 1 / 1) {
  .banner { height: clamp(120px, 24vw, 220px); }
}

.banner::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(135deg, rgba(0,0,0,.15), rgba(0,0,0,.35));
  opacity:.0;
  transition: opacity .25s ease;
  pointer-events:none;
  /* height: 100px; */
}




@media (max-width: 700px){
  .banner{
    margin: 12px auto; 
  }
}



  .categories {
      text-align: left;
      /* margin-top: 10px; */
      padding-bottom: 15px;
      margin: 20px 30px;
    }

    .categories button {
      margin: 5px;
      padding: 8px 16px;
      background-color: #242646;
      border: none;
      border-radius: 20px;
      color: #ffffff;
      cursor: pointer;
    }


.container {
  display: flex;
  gap: 20px;
  padding: 0 30px;
  flex-wrap: wrap;
}

.forum-list {
  flex: 3;
}

.forum-card {
  background-color: var(--card-bg);
  margin-bottom: 15px;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.forum-card .icon {
  font-size: 26px;
  margin-right: 15px;
  color: var(--accent-soft);
}

.forum-card .left {
  display: flex;
  align-items: center;
  flex: 0 0 60%;
}

.forum-card .info {
  color: var(--text-main);
}

.forum-card .info h3 {
  color: var(--text-bright);
  font-size: 18px;
  margin-bottom: 5px;
  text-align: left;
}

.forum-card .tags {
  font-size: 12px;
  color: var(--text-light);
}

.forum-card .stats,
.forum-card .lastpost {
  text-align: center;
  font-size: 14px;
  margin-top: 10px;
}

.stats strong,
.lastpost strong {
  display: block;
  color: var(--text-bright);
}

.sidebar {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.profile-card,
.recent-posts {
  background-color: var(--highlight-bg);
  padding: 20px;
  border-radius: 10px;
}

.profile-card h4,
.recent-posts h4 {
  margin-bottom: 10px;
  color: var(--accent);
}

.forum-stats {
  display: flex;
  justify-content: space-around;
  /* background: var(--secondary-bg); */
  /* padding: 20px; */
  margin: 20px 30px;
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
}

.forum-stats div {
  text-align: center;
}

.online-users {
  background-color: var(--card-bg);
  margin: 20px 30px;
  border-radius: 10px;
  padding: 20px;
}

.online-users h4 {
  margin-bottom: 10px;
  color: var(--text-main);
}

.online-users .userlist {
  font-size: 12px;
  line-height: 1.8;
  color: var(--text-light);
}

.footer {
  background-color: var(--primary-bg);
  color: var(--text-muted);
  text-align: center;
  padding: 30px 10px;
  margin-top: 40px;
  font-size: 14px;
}

.footer .logo {
  font-size: 20px;
  color: var(--accent);
}

.footer-links {
  margin: 10px 0;
}

.footer-links a {
  margin: 0 10px;
  color: var(--text-muted);
}



/* Sidebar & Mobile */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.sidebar-overlay.show {
  opacity: 1;
  visibility: visible;
}

.sidebar.open {
  left: 0;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: -250px;
  width: 220px;
  height: 100vh;
  background-color: var(--secondary-bg);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 70px 20px;
  transition: left 0.3s ease;
}

.mobile-menu.open {
  left: 0;
}

.mobile-menu a {
  margin-bottom: 15px;
  color: var(--text-light);
  font-size: 16px;
}

.sidebar {
  position: fixed;
  top: 0;
  left: -250px;
  height: 100vh;
  width: 230px;
  background-color: var(--secondary-bg);
  padding-top: 80px;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transition: left 0.3s ease;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
}

.sidebar a {
  padding: 12px 20px;
  color: var(--text-light);
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s ease;
}

.sidebar a:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.sidebar a.active {
  background-color: var(--accent);
  color: var(--text-bright);
  border-radius: 6px;
  margin: 0 10px;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }
.main-nav,
.stats,
.stats-divider,
.lastpost {
  display: none;
}

.forum-card .left {
  display: flex;
  align-items: center;
  flex: 0 0 100%;
}


  .menu-toggle {
    display: block;
  }
}

@media (min-width: 769px) {
  .sidebar {
    display: none;
  }

  .menu-toggle {
    display: none;
  }
	.banner {

  font-size: 64px;
  
}
}

/* Sticky topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1100;
  background-color: var(--secondary-bg);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

/* Dropdown wrapper */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 15px;
  color: var(--text-light);
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  padding: 10px 0;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 999;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;

  color: var(--text-light);
  font-weight: 500;
  transition: background 0.2s;
}

.dropdown-menu a:hover {
  background-color: var(--highlight-bg);
  color: var(--text-bright);
}

/* Show dropdown on hover */
/* Only dropdowns with this class open on hover */
.dropdown-hover:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Ensure dropdown looks like other nav links */
nav .nav-item {
  display: inline-flex;
  align-items: center;
  position: relative;
  margin: 0 15px;
}

/* Normalize dropdown-toggle style */
.dropdown-toggle {
  color: var(--text-light);
  font-weight: normal;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
}
/* FontAwesome bullhorn icon */
 .notices {
  display: flex;
  gap: 20px;
  width: 100%;
  justify-content: space-between;
}

.notice-box {
  position: relative;
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 20px;
  width: 48%;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  color: var(--text-main);
  overflow: hidden;
}

.notice-box h4 {
  color: var(--accent);
  margin-bottom: 15px;
}

.notice-box p {
  font-size: 14px;
  color: var(--text-light);
}
@media (max-width: 768px) {
  .notices {
    flex-direction: column;
  }

  .notice-box {
    width: 100%;
  }
}

/* Add background bullhorn icon */
.notice-box::before { content: "\f0a1";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 73px;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 55%;
    left: 90%;
    /* transform: translate(-50%, -50%); */
    pointer-events: none;
    z-index: 0;
	transform: translate(-50%, -50%) rotate(317deg);}

.notice-box .notice-content {
  z-index: 1;
  position: relative;
}
.index-sidebar {
    flex: 1;
    display: flex
;
    flex-direction: column;
    gap: 20px;
}

/*profile card*/.profile-card {
  width: 100%;
  background-color: var(--secondary-bg);
  /* background-color: var(--card-bg); */
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  padding: 20px;
  color: var(--text-main);
}

..profile-header {
  position: relative;
  margin-bottom: 20px;
}

.profile-banner {
  width: 100%;
  height: 50px;
  object-fit: cover;
  border-radius: 10px;
}

/* Text Overlay */
.profile-info {
  position: absolute;
  bottom: 10px; /* Position the text closer to the bottom of the banner */
  left: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
  padding: 10px;
  border-radius: 8px;
}

.profile-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid var(--secondary-bg);
}

.profile-info h4 {
  font-size: 18px;
  font-weight: bold;
  color: var(--text-bright);
  margin: 0;
}

.profile-info p {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 5px;
}

.profile-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.stat-box {
  background-color: var(--card-bg);
  /* background-color: var(--secondary-bg); */
  border-radius: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat-box i {
  font-size: 20px;
  color: var(--accent);
}

.stat-box h5 {
  font-size: 14px;
  font-weight: bold;
  color: var(--text-bright);
}

.stat-box p {
  font-size: 16px;
  color: var(--text-light);
  text-align: left;
}

.disabled {
  color: red;
  font-weight: bold;
}

    .link-container {
      display: flex;
      gap: 10px;
    }

   .link {
    background-color: var(--secondary-bg);
    color: var(--text-light);
    border-radius: 20px;
    padding: 10px 5px;
    display: flex;
    align-items: center;
    /* gap: 10px; */
    /* font-size: 16px; */
    /* border: 2px solid var(--highlight-bg); */
    text-decoration: none;
    transition: all 0.3s ease;
    padding-inline: 0.8rem;
    padding-block: .145rem;
    border-radius: 9999px;
    /* font-size: smaller; */
    margin-top: 5px;
}
.link i {
    font-size: 13px;
    margin-right: 4px;
}
    .link:hover {
      background-color: var(--highlight-bg);
    }
.stat-item {
    display: flex
;
    align-items: center;
    justify-content: space-between;
    background-color: var(--card-bg);
    padding: 15px 20px;
    border-radius: 8px;
    width: 24%;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}


.stat-item i {
  font-size: 28px;
  color: var(--accent);
  margin-right: 10px; /* Position icon to the left */
}

.stat-item div {
  color: var(--text-main);
  font-weight: bold;
  font-size: 16px;
}

.stat-item br {
  margin-top: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .forum-stats {
    /* flex-direction: column; */
    /* align-items: center; */
    /* margin: 0px -0px; */
    /* margin-top: -80px; */
  }

  .stat-item {
    width: 40%;
    margin-bottom: 15px;
  }
}
/*user online */
 /* Banner */
    .online-banner {
      display: flex;
      align-items: center;
      gap: 15px;
      font-size: 18px;
      flex-wrap: wrap;
      margin-bottom: 20px;
      margin: 20px 30px;
    }

    .online-banner .count {
      color: var(--accent);
      font-weight: bold;
    }

    .online-banner .text {
      color: #eecce5;
      font-weight: 500;
    }

    .online-banner .stats-pill {
      background-color: var(--highlight-bg);
      padding: 6px 14px;
      border-radius: 20px;
      font-size: 15px;
      color: #d3d3e2;
    }

    .stats-pill .users {
      color: #9f87ff;
      font-weight: 500;
    }

    .stats-pill .guests {
      color: #ff82c3;
      font-weight: 500;
    }

    /* Wrapper */
    .online-wrapper {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      margin: 20px 30px;
    }

    .online-left,
    .online-right {
      background-color: var(--secondary-bg);
      padding: 20px;
      border-radius: 12px;
    }

    .online-left {
      flex: 2;
      min-width: 300px;
    }

    .online-right {
      flex: 1;
      min-width: 200px;
    }

    .user-list {
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
      font-size: 14px;
      line-height: 1.8;
    }

    .user-list span {
      color: var(--text-light);
    }

    .staff-header {
      font-weight: bold;
      color: var(--accent);
      margin-bottom: 10px;
      font-size: 18px;
    }

    .staff-online {
      background-color: var(--highlight-bg);
      padding: 10px;
      border-radius: 8px;
    }

    .staff-online strong {
      color: var(--admin);
    }

    .staff-online span {
      color: var(--text-main);
    }

    .legend-bar {
      background-color: var(--highlight-bg);
      margin-top: 20px;
      padding: 10px 15px;
      border-radius: 10px;
      display: flex;
      flex-wrap: wrap;
      gap: 15px;
      font-weight: bold;
      font-size: 14px;
      margin: 20px 30px;
    }

    .legend-bar .role {
      white-space: nowrap;
    }


    @media (max-width: 768px) {
      .online-wrapper {
        flex-direction: column;
      }
    }

/*nav*/
    .breadcrumb-bar {
      background-color: var(--card-bg);
      padding: 14px 24px;
      border-radius: 12px;
      font-size: 14px;
      font-weight: bold;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 6px;
      color: var(--text-main);
      /* text-transform: uppercase; */
      margin: 20px 30px;
    }

    .breadcrumb-bar a {
      color: var(--text-main);
      text-decoration: none;
      transition: 0.2s ease;
    }

    .breadcrumb-bar a:hover {
      color: var(--accent-soft);
    }

    .breadcrumb-bar .sep {
      color: var(--accent-soft);
      font-size: 16px;
      margin: 0 4px;
    }

    .breadcrumb-bar .highlight {
      color: var(--link-color);
      margin-right: 4px;
    }

    .breadcrumb-bar .final {
      text-transform: none;
      color: var(--text-light);
    }
   																																	