/* VUtils — old Roblox style site */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: #1e1035;
  background: #150826 url('vortex.jpeg') no-repeat center top fixed;
  background-size: cover;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(21, 8, 38, 0.82);
  z-index: -1;
}
a { color: #5b21b6; text-decoration: none; }
a:hover { color: #7c3aed; text-decoration: underline; }
code { background: #ede9fe; padding: 1px 4px; border: 1px solid #c4b5fd; border-radius: 3px; font-size: 12px; }
.inner { width: 1020px; max-width: 96%; margin: 0 auto; }
.center { text-align: center; }
.tiny { font-size: 11px; color: #5b4a7a; }

/* top strip */
#topStrip { background: #0f0520; color: #d8ccff; font-size: 11px; border-bottom: 1px solid #4c1d95; }
#topStrip .inner { display: flex; justify-content: space-between; padding: 4px 8px; }
#topStrip a { color: #c4b5fd; }

/* header */
#header { background: linear-gradient(#2d1b4e, #1a0b2e); border-bottom: 3px solid #8f7bff; }
#header .inner { display: flex; align-items: center; gap: 16px; padding: 10px 8px; }
#logoBlock { display: flex; align-items: center; gap: 10px; text-decoration: none; }
#siteLogo {
  width: 74px; height: 74px; object-fit: cover;
  border: 3px solid #fff; border-radius: 6px;
  box-shadow: 3px 3px 0 #8f7bff, 0 0 18px #a855f7;
  background: #2d1b4e;
}
#logoTextWrap { display: flex; flex-direction: column; line-height: 1; }
#logoText {
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 44px; font-weight: 900; letter-spacing: 2px;
  color: #9d8cff;
  -webkit-text-stroke: 2px #fff;
  text-shadow: 3px 3px 0 #5b21b6, 5px 5px 0 rgba(0,0,0,.5), 0 0 22px #a855f7;
}
#logoTagline { color: #d8ccff; font-size: 11px; margin-top: 4px; }
#headerBanner {
  flex: 1; background: linear-gradient(#efeaff, #d8ccff);
  border: 2px solid #fff; outline: 1px solid #7c3aed; border-radius: 4px;
  padding: 6px 10px; position: relative; min-width: 220px;
}
#headerBanner .ad-label { position: absolute; top: -9px; right: 8px; background: #5b21b6; color: #fff; font-size: 10px; padding: 0 6px; border-radius: 3px; }
#headerBanner .ad-body { font-size: 13px; color: #2d1b4e; display: flex; align-items: center; gap: 10px; justify-content: space-between; }
#headerSearch { display: flex; gap: 4px; }
#headerSearch input {
  width: 220px; padding: 5px; font-size: 12px;
  border: 2px inset #c4b5fd; border-radius: 3px;
}

/* retro buttons */
.retro-btn {
  font-family: Verdana, Arial, sans-serif; font-size: 12px; font-weight: bold;
  color: #fff; background: linear-gradient(#a78bfa, #7c3aed 50%, #5b21b6);
  border: 1px solid #3b1d6e; border-radius: 3px;
  padding: 5px 12px; cursor: pointer;
  text-shadow: 1px 1px 0 #2d1b4e;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}
.retro-btn:hover { filter: brightness(1.12); }
.retro-btn.gray { background: linear-gradient(#e9e4ff, #b8aaff 50%, #8f7bff); color: #2d1b4e; text-shadow: 1px 1px 0 #fff; border-color: #5b21b6; }
.retro-btn.small { font-size: 11px; padding: 3px 8px; }
.retro-btn.full { width: 100%; margin-top: 6px; }
.retro-btn.gold { background: linear-gradient(#fde68a, #f59e0b 55%, #92400e); border-color: #451a03; }

/* nav */
#navBar { background: linear-gradient(#efeaff, #c4b5fd); border-bottom: 1px solid #5b21b6; }
#navBar .inner { display: flex; gap: 4px; padding: 4px 8px; flex-wrap: wrap; }
.nav-tab {
  background: linear-gradient(#fff, #d8ccff);
  border: 1px solid #7c3aed; border-bottom: none; border-radius: 6px 6px 0 0;
  padding: 5px 18px; font-weight: bold; color: #3b1d6e; font-size: 12px;
}
.nav-tab:hover { background: #fff; text-decoration: none; }
.nav-tab.active { background: linear-gradient(#8f7bff, #5b21b6); color: #fff; text-shadow: 1px 1px 0 #000; }
#subBar { background: #2d1b4e; color: #d8ccff; font-size: 11px; border-bottom: 2px solid #000; }
#subBar .inner { padding: 4px 8px; display: flex; gap: 6px; align-items: center; }
.online-dot { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; display: inline-block; box-shadow: 0 0 6px #22c55e; }

/* page layout — classic 3 col */
#page { display: flex; gap: 10px; margin-top: 10px; align-items: flex-start; }
#colLeft { width: 170px; flex-shrink: 0; }
#colCenter { flex: 1; min-width: 0; }
#colRight { width: 200px; flex-shrink: 0; }
#colLeft, #colCenter, #colRight { display: flex; flex-direction: column; gap: 10px; }

/* panels — the classic box style */
.panel { background: #f5f1ff; border: 1px solid #7c3aed; border-radius: 4px; overflow: hidden; box-shadow: 2px 2px 0 rgba(0,0,0,.5); }
.panel-header {
  background: linear-gradient(#7c3aed, #4c1d95);
  color: #fff; font-weight: bold; font-size: 12px;
  padding: 5px 8px; border-bottom: 1px solid #2d1b4e;
  text-shadow: 1px 1px 0 #000;
  display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap;
}
.panel-body { padding: 8px; }
.menu-list a { display: block; padding: 3px 2px; border-bottom: 1px dotted #c4b5fd; font-size: 12px; }
.stats div { display: flex; justify-content: space-between; font-size: 12px; padding: 2px 0; border-bottom: 1px dotted #c4b5fd; }

.welcome .panel-body { background: linear-gradient(#fff, #efeaff); }
.welcome-flex { display: flex; gap: 12px; }
.welcome-logo { width: 110px; height: 110px; object-fit: cover; border: 2px solid #5b21b6; border-radius: 4px; }
.welcome h2 { margin: 0 0 6px; color: #4c1d95; font-size: 18px; }
.btn-row { display: flex; gap: 8px; margin-top: 8px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.card-grid.small { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.card { background: #fff; border: 1px solid #c4b5fd; border-radius: 4px; padding: 6px; text-align: center; }
.card img.thumb { width: 100%; height: 90px; object-fit: cover; border: 1px solid #7c3aed; border-radius: 3px; background: #2d1b4e; }
.card-grid.small img.thumb { height: 70px; }
.card h4 { margin: 6px 0 2px; font-size: 12px; color: #3b1d6e; }
.card .meta { font-size: 11px; color: #6b5b95; }
.card .tag { display: inline-block; font-size: 10px; background: #ede9fe; border: 1px solid #8f7bff; border-radius: 8px; padding: 0 6px; margin: 2px; }
.card .row { display: flex; gap: 4px; margin-top: 6px; }
.card .row .retro-btn { flex: 1; }

#loginBox label { font-size: 11px; font-weight: bold; display: block; margin-top: 4px; }
#loginBox input { width: 100%; padding: 4px; font-size: 12px; border: 2px inset #c4b5fd; }
.my-avatar { width: 60px; height: 60px; margin: 0 auto; background: url('vortex.jpeg') center/cover; border: 2px solid #5b21b6; border-radius: 4px; display: flex; align-items: flex-end; justify-content: center; color: #fff; font-weight: bold; text-shadow: 1px 1px 0 #000; }

.vortex-mini { width: 100%; border: 1px solid #5b21b6; border-radius: 4px; }
.potd { width: 100%; border: 2px solid #fff; outline: 1px solid #7c3aed; border-radius: 4px; }
.fake-ad { background: #1a0b2e; color: #ede9fe; border: 1px solid #a855f7; padding: 8px; border-radius: 4px; }
.fake-ad img { width: 100%; border-radius: 3px; }

.shouts { max-height: 140px; overflow-y: auto; background: #fff; border: 1px solid #c4b5fd; padding: 6px; font-size: 12px; margin-bottom: 6px; }
.shout-row { display: flex; gap: 4px; }
.shout-row input { flex: 1; padding: 5px; border: 2px inset #c4b5fd; }

#footer { margin-top: 14px; background: #0f0520; color: #b8aaff; border-top: 3px solid #8f7bff; padding: 12px 0 20px; text-align: center; }
#footer a { color: #d8ccff; }
.footer-v { width: 34px; margin-top: 8px; border: 2px solid #fff; border-radius: 4px; cursor: pointer; }

@media (max-width: 900px) {
  #page { flex-direction: column; }
  #colLeft, #colRight { width: 100%; flex-direction: column; }
  #header .inner { flex-wrap: wrap; }
  .welcome-flex { flex-direction: column; }
}
