/* 2000sdsd mode: loud, beveled, tiled, proud */
:root {
  --bg1: #05050a;
  --bg2: #0a0a14;
  --panel: #0f1222;
  --panel2: #141a33;
  --ink: #e9f3ff;
  --muted: #bcd3ff;
  --line: #2a3a7a;
  --bevelHi: rgba(255, 255, 255, 0.25);
  --bevelHi2: rgba(255, 255, 255, 0.15);
  --bevelLo: rgba(0, 0, 0, 0.65);
  --bevelLo2: rgba(0, 0, 0, 0.85);
  --acid: #00ff7b;
  --hot: #ff3dff;
  --link: #66ccff;
  --warn: #ffd000;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font: 13px/1.35 Tahoma, Verdana, Arial, sans-serif;
  background: radial-gradient(
      circle at 20% 15%,
      rgba(255, 61, 255, 0.18),
      transparent 40%
    ),
    radial-gradient(circle at 80% 40%, rgba(0, 255, 123, 0.18), transparent 45%),
    linear-gradient(180deg, var(--bg2), var(--bg1));
  min-height: 100vh;
}

/* faux tiled “stars” */
/* body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: radial-gradient(#ffffff 1px, transparent 1px),
    radial-gradient(#66ccff 1px, transparent 1px),
    radial-gradient(#ff3dff 1px, transparent 1px);
  background-size: 120px 120px, 220px 220px, 320px 320px;
  background-position: 0 0, 40px 80px, 120px 40px;
  mix-blend-mode: screen;
} */

a {
  color: var(--link);
  text-decoration: underline;
}

a:hover {
  color: var(--acid);
}

h1,
h2 {
  line-height: 1.4;
}

.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
}

/* classic “site” container */
.site {
  /* border: 3px solid var(--line); */
  background: linear-gradient(
    180deg,
    rgba(20, 26, 51, 0.92),
    rgba(10, 10, 20, 0.92)
  );
  /* box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.7), 0 12px 40px rgba(0, 0, 0, 0.65); */
}

/* bevel */
.bevel {
  border-top: 2px solid var(--bevelHi);
  border-left: 2px solid var(--bevelHi2);
  border-right: 2px solid var(--bevelLo);
  border-bottom: 2px solid var(--bevelLo2);
}

/* marquee bar */

@keyframes marquee {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.marquee {
  white-space: nowrap;
  overflow: hidden;
  background: linear-gradient(180deg, #1c2b66, #0f1533);
  border-bottom: 3px solid var(--line);
  padding: 6px 10px;
}

.marquee .track {
  display: inline-block;
  /* animation: marquee 20s linear infinite; */
}

/* "header graphic" */
.hero {
  padding: 10px;
  border-bottom: 3px solid var(--line);
  background: linear-gradient(90deg, rgba(255, 61, 255, 0.15), transparent 35%),
    linear-gradient(270deg, rgba(0, 255, 123, 0.14), transparent 35%),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.05) 0 6px,
      rgba(0, 0, 0, 0.05) 6px 12px
    );
  position: relative;
}

.banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  background: rgba(0, 0, 0, 0.35);
}

.logo {
  font-family: "Trebuchet MS", Tahoma, Verdana, Arial, sans-serif;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 1px;
  margin: 0;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.75), 0 0 12px rgba(102, 204, 255, 0.3);
}

.logo .pink {
  color: var(--hot);
}
.logo .green {
  color: var(--acid);
}

.tagline {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.status {
  text-align: right;
  font-size: 12px;
  color: var(--muted);
}

.status .pill {
  display: inline-block;
  padding: 2px 6px;
  margin-left: 6px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.45);
  color: var(--ink);
}

/* classic button nav */
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px;
  background: linear-gradient(180deg, #0b0f25, #070a16);
  /* border-top: 1px solid rgba(255, 255, 255, 0.06); */
}

.btn {
  display: inline-block;
  padding: 6px 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #e9f3ff;
  text-decoration: none;
  background: linear-gradient(
    180deg,
    rgba(20, 26, 51, 0.92),
    rgba(10, 10, 20, 0.92)
  );
  border: 2px solid var(--line);
}

.btn:hover {
  border-color: var(--acid);
  filter: brightness(1.15);
  box-shadow: 0 0 12px var(--acid);
  transition: all 0.25s ease;
}

.btn:active {
  transform: translateY(1px);
}

/* breadcrumb navigation */
.breadcrumbs {
  padding: 10px;
  background: linear-gradient(180deg, #1c2b66, #0f1533);
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  border-top: 2px solid rgba(0, 0, 0, 0.1);
  font: 11px Tahoma, Verdana, Arial, sans-serif;
  color: var(--muted);
}

.breadcrumbs a {
  color: var(--link);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--acid);
  text-decoration: underline;
}

.breadcrumbs .active {
  color: var(--ink);
  font-weight: 400;
}

/* layout using TABLES like it's 2002 */
.content {
  padding: 10px;
  background: var(--panel2);
}

table.layout {
  width: 100%;
  border-collapse: separate;
  border-spacing: 10px;
}

td.col {
  vertical-align: top;
}

.panel {
  padding: 10px;
  background: linear-gradient(
    180deg,
    rgba(20, 26, 51, 0.9),
    rgba(10, 10, 20, 0.9)
  );
  /* border: 2px solid var(--line); */
}

.panel h2 {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--warn);
}

.panel h2 .mini {
  color: var(--muted);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.prose {
  /* font-family: "Arial", sans-serif; */
  background: var(--panel2);
  color: #e6e9f2;
  font-size: 14px;
  line-height: 1.6;
}

.hr {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(102, 204, 255, 0.5),
    transparent
  );
  margin: 10px 0;
}

.tiny {
  font-size: 11px;
  color: var(--muted);
}

/* "news table" look */
table.news {
  width: 100%;
  border-collapse: collapse;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  table-layout: auto;
}

table.news tbody tr {
  cursor: pointer;
  transition: background-color 0.15s ease;
}

table.news tbody tr:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Prevent link underline from showing when row is clickable */
table.news tbody tr a {
  text-decoration: none;
}

table.news tbody tr a:hover {
  text-decoration: underline;
}

table.news th,
table.news td {
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 8px;
  font-size: 12px;
}

table.news th {
  background: rgba(0, 0, 0, 0.45);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 11px;
}

.tag {
  display: inline-block;
  padding: 1px 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.35);
  color: var(--ink);
  font-size: 11px;
  white-space: nowrap;
}

.tag.hot {
  border-color: rgba(255, 61, 255, 0.55);
}
.tag.acid {
  border-color: rgba(0, 255, 123, 0.55);
}
.tag.blue {
  border-color: rgba(102, 204, 255, 0.55);
}

/* “badges” like old 88x31s */
.badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.badge88 {
  width: 88px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 2px solid #000;
  background: linear-gradient(180deg, #fff, #d6d6d6);
  color: #000;
  font: 700 9px/1 Arial, sans-serif;
  text-transform: uppercase;
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.8),
    inset -1px -1px 0 rgba(0, 0, 0, 0.35);
}

.badge88 .sub {
  font-weight: 400;
  font-size: 8px;
  opacity: 0.8;
}

/* footer */
.footer {
  padding: 10px;
  border-top: 3px solid var(--line);
  background: linear-gradient(180deg, #0f1533, #070a16);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.counter {
  font: 700 12px/1 "Courier New", monospace;
  background: #000;
  color: var(--acid);
  border: 2px solid #2a3a7a;
  padding: 4px 8px;
}

/* optional: reduce animation if user prefers */
@media (prefers-reduced-motion: reduce) {
  .marquee .track {
    animation: none;
  }
}

/* ====== MOBILE RESPONSIVE STYLES ====== */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .wrap {
    padding: 0;
  }

  .site.bevel {
    border: none;
  }

  /* Make marquee text smaller */
  .marquee {
    padding: 6px 8px;
    font-size: 11px;
  }

  .marquee .label {
    display: block;
    margin-bottom: 4px;
  }

  /* Responsive banner */
  .banner {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .logo {
    font-size: 22px;
  }

  .tagline {
    font-size: 11px;
  }

  .status {
    text-align: left;
  }

  .status .pill {
    margin: 4px 4px 0 0;
  }

  /* Stack navigation vertically */
  .nav {
    flex-direction: column;
    gap: 4px;
  }

  .btn {
    width: 100%;
    text-align: center;
    padding: 8px 10px;
  }

  .content {
    padding: 10px;
  }

  /* Transform table layout into stacked layout */
  table.layout {
    display: block;
    border-spacing: 0;
  }

  table.layout tr,
  table.layout tbody {
    display: block;
  }

  td.col {
    display: block !important;
    width: 100% !important;
    margin-bottom: 10px;
  }

  /* Make news table scrollable on tiny screens */
  .panel {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  table.news {
    font-size: 11px;
    table-layout: fixed;
    width: 100%;
    min-width: 100%;
  }

  /* Ensure table structure is preserved - override any display changes */
  table.news thead {
    display: table-header-group !important;
  }

  table.news tbody {
    display: table-row-group !important;
  }

  table.news tr {
    display: table-row !important;
  }

  table.news th,
  table.news td {
    display: table-cell !important;
    padding: 4px 6px;
    box-sizing: border-box;
    vertical-align: top;
  }

  /* On tablets, fix column widths to match headers - use fixed pixel widths */
  table.news th:first-child,
  table.news td:first-child {
    width: 92px !important;
    min-width: 92px !important;
    max-width: 92px !important;
    font-size: 10px;
  }

  table.news th:last-child,
  table.news td:last-child {
    width: 110px !important;
    min-width: 110px !important;
    max-width: 110px !important;
  }

  /* Middle column takes remaining space */
  table.news th:nth-child(2),
  table.news td:nth-child(2) {
    width: auto;
    min-width: 0;
  }

  /* Badges wrap better */
  .badges {
    gap: 6px;
  }

  /* Footer stacks */
  .footer {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .counter {
    width: 100%;
    text-align: center;
  }
}

/* Extra small phones */
@media (max-width: 480px) {
  .logo {
    font-size: 20px;
  }

  .tagline {
    font-size: 10px;
    line-height: 1.4;
  }

  /* Convert table to card-like stacked layout */
  table.news {
    border: none;
    background: transparent;
    table-layout: auto;
  }

  table.news thead {
    display: none !important;
  }

  table.news tbody,
  table.news tr {
    display: block !important;
    width: 100%;
  }

  table.news tr {
    margin-bottom: 12px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px;
  }

  table.news td {
    display: block !important;
    border: none;
    padding: 4px 0;
    text-align: left !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
  }

  /* Date: small and muted at top */
  table.news td:first-child {
    font-size: 10px;
    color: var(--muted);
    margin-bottom: 4px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
  }

  /* Post content: main focus */
  table.news td:nth-child(2) {
    padding: 6px 0;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
  }

  /* Tag: align right, inline */
  table.news td:last-child {
    padding-top: 6px;
    text-align: right !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
  }

  .badge88 {
    transform: scale(0.9);
  }
}

/* ====== ENHANCED 2000s VIBES ====== */

/* Blink effect (the ULTIMATE 2000s feature) */
@keyframes blink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

.blink {
  /* animation: blink 1.5s linear infinite; */
}

/* Glow pulse effect */
@keyframes glow {
  0%,
  100% {
    text-shadow: 0 0 4px currentColor, 0 0 8px currentColor,
      2px 2px 0 rgba(0, 0, 0, 0.75);
  }
  50% {
    text-shadow: 0 0 8px currentColor, 0 0 16px currentColor,
      0 0 24px currentColor, 2px 2px 0 rgba(0, 0, 0, 0.75);
  }
}

.glow {
  animation: glow 2s ease-in-out infinite;
}

/* Spinning effect for EXTREME emphasis */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.spin {
  display: inline-block;
  animation: spin 3s linear infinite;
}

/* Rainbow text effect */
@keyframes rainbow {
  0% {
    color: #ff3dff;
  }
  25% {
    color: #66ccff;
  }
  50% {
    color: #00ff7b;
  }
  75% {
    color: #ffd000;
  }
  100% {
    color: #ff3dff;
  }
}

.rainbow {
  animation: rainbow 3s linear infinite;
}

/* "NEW!" badge */
.new-badge {
  display: inline-block;
  padding: 2px 6px;
  background: linear-gradient(45deg, #ff0000, #ff6600);
  color: #fff;
  font-weight: 900;
  font-size: 9px;
  letter-spacing: 1px;
  border: 2px solid #fff;
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.8);
  /* animation: blink 1s ease-in-out infinite; */
  text-shadow: 1px 1px 0 #000;
}

/* Under construction style bars */
.construction {
  background: repeating-linear-gradient(
    45deg,
    #ffd000,
    #ffd000 20px,
    #000 20px,
    #000 40px
  );
  height: 8px;
  border: 2px solid #000;
}

/* Starfield in banner */
/* .hero::before {
  content: "✦";
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 12px;
  color: var(--hot);
  opacity: 0.6;
  animation: blink 2s ease-in-out infinite;
} */

/* .hero::after {
  content: "★";
  position: absolute;
  top: 25px;
  right: 30px;
  font-size: 16px;
  color: var(--acid);
  opacity: 0.5;
  animation: spin 8s linear infinite;
} */

/* Glowing border for panels on hover */
.panel:hover {
  /* border-color: var(--acid); */
  /* box-shadow: 0 0 12px rgba(0, 255, 123, 0.4); */
  transition: all 0.3s ease;
}

/* More aggressive link hover */
a:hover {
  color: var(--acid);
  text-shadow: 0 0 8px rgba(0, 255, 123, 0.6);
  transition: all 0.15s ease;
}

/* Visitor counter with glow */
.counter {
  animation: glow 2.5s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(0, 255, 123, 0.4);
}

/* Comic Sans option (the MOST 2000s font) */
.comic {
  font-family: "Comic Sans MS", "Chalkboard SE", "Comic Neue", cursive;
}

/* Webdings-style symbols */
.webdings {
  font-family: Webdings, sans-serif;
}
