:root{
  --bg: #000;             /* Black background, per your preference */
  --text: #fff;           /* Body text */
  --muted: #b5b5b5;
  --card: #0e0e0f;        /* Card surface */
  --border: #1e1e22;
  --brand: #53B5FF;       /* Accent (icy blue) */
  --brand-2: #6EE7FF;     /* Secondary accent */
  --radius: 16px;
  --maxw: 1600px;         /* Content max width */
  --gap: 20px;
  --shadow: 0 8px 24px rgba(0,0,0,.35);
  --font: Arial, Helvetica, sans-serif;
}

*{ box-sizing: border-box }
html, body{ height:100% }
html{ color-scheme: dark }
body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 var(--font);
}

/* Accessibility */
.skip-link{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  position:fixed; left:16px; top:16px; width:auto; height:auto;
  background:#111; color:#fff; padding:10px 14px; border-radius:8px; z-index:9999;
}
.visually-hidden{
  position:absolute !important; height:1px; width:1px; overflow:hidden; clip:rect(1px,1px,1px,1px);
}

/* --- Header Layout --- */
.site-header {
  background: #000;                /* adjust as needed */
  padding: 10px 20px;
}

.site-header__inner {
  display: flex;                   /* flexbox ensures logo left, ad right */
  justify-content: space-between;  /* push to far edges */
  align-items: center;
  gap: 20px;                       /* space between if screen is narrow */
}

/* Logo sizing (tweak as you like) */
.site-header__inner .logo img {
  max-height: 153px;
  height: auto;
  width: auto;
  display: block;
}

/* Ensure 728x90 fits container */
.site-header__inner .banner-ad {
  width: 728px;
  height: 90px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  overflow: hidden;
}


/* --- Nav Bar --- */
.menu-bar {
  background: #10065A;
  padding: 10px 0;
  position: relative;
  z-index: 5;
}

/* Force UL into flex row */
.menu-bar ul {
  display: flex !important;        /* force horizontal */
  justify-content: center;
  align-items: center;
  gap: 20px;                       /* spacing between links */
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Force LIs to behave like inline flex items */
.menu-bar ul li {
  display: inline-flex !important;
  margin: 0;
  padding: 0;
}

/* Links */
.menu-bar ul li a {
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 8px;
  color: #fff;
  transition: box-shadow .25s ease, color .25s ease;
}

/* Glow effect */
.menu-bar ul li a:hover {
  box-shadow: 0 0 8px #fff;
  color: #ff0;
}

/* Leaderboard ad aligns right */
.ad--leaderboard{
  justify-self: end;
}

/* Layout */
.layout{
  margin: 0 auto;  
  max-width: 1600px; /* or 1500px, tweak until it looks right */
  padding: 20px 16px 40px;
  display: grid;
  grid-template-columns: 260px minmax(0, 2fr) 320px; /* L / Main / R */
  gap: var(--gap);
}

/* Cards */
.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px;
}
.card__title{
  margin: 0 0 12px;
  font-size: 1rem;
  letter-spacing: .2px;
}

.centerthis{
  display: flex;        /* force horizontal */
  justify-content: center;
  align-items: center;
}

.gem::before{
	content: "\1F48E ";
}
.fire::before{
	content: "\1F525 ";
}

.fire::after{
	content: "\1F525 ";
}

#memberfeature{
	font-size: 20px;
	font-weight: bold;
}

#features{
	text-align: left;
	padding-left: 8px;
	list-style-type: none;
}

.one::before{
	content: "\0031\FE0F\20E3 ";
}

.two::before{
	content: "\0032\FE0F\20E3 ";
}

.three::before{
	content: "\0033\FE0F\20E3 ";
}

.four::before{
	content: "\0034\FE0F\20E3 ";
}

.five::before{
	content: "\0035\FE0F\20E3 ";
}

#favesites{
	text-align: left;
	padding-left: 8px;
	list-style-type: none;
}

/* Left Sidebar widgets */
.list--ranked{
  margin:0; padding-left: 18px;
}
.list--ranked li{
  margin: 6px 0;
}
.list--ranked a{
  color: var(--text);
  text-decoration: none;
}
.list--ranked a:hover{ text-decoration: underline; }


/* --- Server Status Section --- */
.server-container {
  display: flex;
  flex-direction: column;
  gap: 8px;                      /* spacing between rows */
}

.server-row {
  display: flex;
  justify-content: space-between; /* name left, status right */
  align-items: center;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(255,255,255,0.04); /* subtle background for row */
}

.server-name {
  font-weight: 600;
  color: #fff;
}

.status-active {
  font-weight: 600;
  color: #7efca4;                /* green text for Active */
}

.status-inactive {
  font-weight: 600;
  color: #ff9992;                /* reddish text */
}

/* Native ad demo */
.native-card{ padding:10px; border-radius:12px; border:1px dashed var(--border); }
.native-card + .native-card{ margin-top:10px; }
.native-card__meta{ color: var(--muted); font-size:.85rem; }

/* Content feed */
.content{ min-width: 0; }
.post-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.post-card + .post-card{ margin-top: 14px; }
.post-card__head{
  display:flex; gap: 10px; align-items: baseline; flex-wrap: wrap;
}
.post-card__title{
  font-weight: 700; text-decoration: none; color: var(--text);
  border-bottom: 2px solid transparent;
}
.post-card__title:hover{ border-bottom-color: var(--brand); }
.post-card__date{ color: var(--muted); font-size:.9rem; }
.post-card__excerpt{ margin: 10px 0 0; color: #d5d5d5; }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px; border-radius:12px; border:1px solid var(--border);
  background:#121216; color:#fff; cursor:pointer;
}
.btn:hover{ border-color:#2a2a31; }
.btn--ghost{
  background: transparent;
}
.btn--outline{
  background: transparent; border-color: #2a2a31;
}
.stack > * + *{ margin-top: 10px; }
.muted{ color: var(--muted); }

/* Right Sidebar ad */
.ad--mpu .ad-slot{
  display:flex; align-items:center; justify-content:center;
  background:#111; border-radius:12px; overflow:hidden;
}

/* Footer */
.site-footer{
  border-top:1px solid var(--border);
  margin-top: 40px;
  padding: 20px 16px 60px;
  background: radial-gradient(1200px 400px at 50% 120%, rgba(83,181,255,.1), transparent 70%);
}
.footer-nav{ max-width: 70%; margin: 0 auto; }
.footer-links{
  list-style:none; margin:0; padding:0; display:flex; gap:20px; justify-content: center;  flex-wrap: wrap;
}
.footer-links a{ color:#ddd; text-decoration:none }
.footer-links a:hover{ color: var(--brand) }
.footer-copy{
  display:flex; justify-content: center; margin: auto 0; color: var(--muted);
}

/* Chatro pages CSS */
#bodyofwork { background: #FFF; color: #000;  margin: 0 auto;  max-width: 1600px; padding: 10px; }
#pagetitle { font: 1.5em Arial; color: #00F; text-align: center; }
.heading  {font-weight: bold; text-decoration: underline; text-align: center; }
.stipulations {list-style-type: lower-alpha; }

/*Join page */
.join-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 140px;
}
.join-header__inner .logo img {
  max-height: 153px;
}
.join-header__inner .signup  {
  flex: 1;                        /* let it grow */
  text-align: center;             /* center text */
  font: bold 2.2rem Arial, sans-serif;
  color: #fff;
}
.bannerplacement {
  max-width: 970px;              /* accommodates 728x90 or 970x250 */
  margin: 20px auto;
  text-align: center;
}
.join-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto 30px;
}
.leftpane,
.rightpane {
  background: #fff;
  color: #000;
  min-height: 350px;
  padding: 20px;
}
.rightpane { border-left: 3px solid #81BEF7; }
.topper {
  text-align: center;
  font-weight: bold;
  text-decoration: underline;
  margin-bottom: 12px;
}
#features p { margin: 6px 0; }
.choices-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 12px;
}
.choice.type {
  padding: 12px;
  background: #f5f5f5;
  border: 1px solid #ccc;
  text-align: center;
  font-weight: bold;
  border-radius: 6px;
  transition: background .2s ease, transform .1s ease;
}
.choice.type:hover {
  background: #e9e9e9;
  transform: translateY(-1px);
}
#note {
  margin-top: 16px;
  font: bold 0.85em Arial, sans-serif;
  color: #f00;
  text-align: center;
}

/* Utilities */
.ad-slot img{ display:block; max-width:100%; height:auto }
.ad{ min-height: 1px } /* keep layout stable */

/* Responsive */
@media (max-width: 1200px){
  .layout{
    grid-template-columns: 240px minmax(0,1fr) 300px;
  }
  .logo img{ max-height: 46px; }
}
@media (max-width: 1024px){
  .layout{
    grid-template-columns: minmax(0,1fr); /* Stack: content first */
  }
  
  .sidebar--left, .sidebar--right{
    order: 2; /* sidebars after content on tablet/mobile */
  }
  .sidebar--right{ order: 3; }
  .ad--leaderboard .ad-slot img{
    width: 100%; height: auto; object-fit: contain;
  }
}
@media (max-width: 768px) {
  .join-grid {
    grid-template-columns: 1fr;   /* stack Features above Choices */
  }
  .rightpane {
    border-left: none;
    border-top: 3px solid #81BEF7;
  }
}
@media (max-width: 600px){
  .site-header__inner{
    grid-template-columns: 1fr; gap: 12px;
  }
  .ad--leaderboard{ justify-self: stretch; }
}