* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #0a0e17;
  background-image: radial-gradient(circle at 30% 20%, #1a2442 0%, #0a0e17 100%);
  font-family: 'Courier New', Courier, monospace;
  color: #d3e0ff;
  line-height: 1.5;
  padding: 0 20px 20px;
  image-rendering: crisp-edges;
  max-width: 1400px;
  margin: 0 auto;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.oldweb-banner {
  background: #111827;
  border: 3px ridge #2f4172;
  padding: 8px 0;
  margin: 15px 0 20px;
  font-size: 1.1rem;
  color: #b8d0ff;
  text-shadow: 0 0 6px #2f4172;
  letter-spacing: 1.5px;
  box-shadow: inset 0 -2px 0 #1f2a44, 0 6px 0 #03060c;
}

.retro-header {
  border: 4px double #2f4172;
  background: #0e1422;
  padding: 25px 20px 20px;
  margin-bottom: 25px;
  box-shadow: 14px 14px 0 #05080f, inset 0 0 0 2px #1f2940;
  position: relative;
}

.retro-header::after {
  content: "";
  position: absolute;
  top: 5px; left: 5px; right: -5px; bottom: -5px;
  border: 2px dotted #3c5280;
  pointer-events: none;
}

.site-title {
  font-size: clamp(2.5rem, 8vw, 4.2rem);
  font-weight: 800;
  color: #ffffff;
  text-shadow: 5px 5px 0 #1f3162, 8px 8px 0 #0b0f1a;
  letter-spacing: -3px;
  margin: 0;
  line-height: 1;
  word-break: break-word;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.glitch {
  background: #1f3162;
  color: #ffffff;
  padding: 0 12px;
  font-style: italic;
  display: inline-block;
  transform: skewX(-5deg);
  box-shadow: -3px 3px 0 #4d70b3;
}

.header-sub {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 18px;
  font-size: 1rem;
  color: #a5bde8;
  border-top: 2px dashed #2a3d66;
  padding-top: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.gif-banner {
  margin-top: 20px;
  border: 4px solid #1f2f52;
  max-width: 100%;
  overflow-x: auto;
  background: #0a1020;
  box-shadow: inset 0 0 20px #00000080;
}

.gif-banner img {
  display: block;
  max-width: none;
  width: 1060px;
  height: 128px;
  image-rendering: crisp-edges;
  opacity: 0.95;
}

.main-nav {
  margin: 0 0 30px;
}

.nav-table {
  width: 100%;
  border-collapse: collapse;
  border: 4px outset #2a3d6b;
  background: #111b2e;
  box-shadow: 8px 8px 0 #03060b;
}

.nav-table td {
  border: 3px inset #1f2e50;
  text-align: center;
  padding: 14px 8px;
  transition: all 0.1s;
}

.nav-table a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 800;
  display: block;
  transition: 0.1s;
  text-shadow: 2px 2px 0 #16233f;
  letter-spacing: -0.5px;
}

.nav-table td:hover {
  background: #1f3162;
  border-color: #4f72b3;
}

.nav-table a:hover {
  letter-spacing: 0.5px;
  text-shadow: 3px 3px 0 #0b1325;
}

.main-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 15px 0 30px;
  flex: 1;
}

.content-column {
  flex: 2;
  min-width: 320px;
}

.sidebar {
  flex: 1;
  min-width: 260px;
}

.section-block {
  background: #0e1527;
  border: 3px solid #1f305c;
  padding: 24px 22px;
  margin-bottom: 35px;
  box-shadow: 10px 10px 0 #070b14, inset 0 1px 0 #2d4070;
  position: relative;
}

.section-block::before {
  content: "";
  position: absolute;
  top: -6px; left: -6px; right: -6px; bottom: -6px;
  border: 2px dotted #2d4070;
  pointer-events: none;
  z-index: 2;
}

.section-title {
  font-size: 2rem;
  color: #ffffff;
  border-bottom: 5px ridge #2d4070;
  padding-bottom: 10px;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: -1px;
  font-weight: 800;
  text-shadow: 2px 2px 0 #101a30;
  display: inline-block;
  padding-right: 20px;
}

.keyword-block {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.keyword {
  background: #18233e;
  border: 3px solid #2d4070;
  padding: 6px 14px;
  font-size: 0.9rem;
  color: #d0e2ff;
  text-transform: lowercase;
  font-weight: 600;
  box-shadow: 4px 4px 0 #0b1323;
  transition: 0.1s;
}

.keyword:hover {
  background: #1f3162;
  color: white;
  border-color: #5f82c0;
}

.intro-text {
  font-size: 1.15rem;
  background: #111c32;
  padding: 20px;
  border-left: 10px solid #2d4070;
  box-shadow: inset 0 0 0 2px #1f3050, 6px 6px 0 #050914;
  margin-bottom: 10px;
}

.welcome {
  color: #b0dcff;
  font-weight: bold;
  display: inline-block;
  margin-right: 10px;
}

.blink {
  animation: blink 1.4s step-start infinite;
  background: #2d4070;
  padding: 3px 10px;
  font-weight: bold;
  margin-left: 6px;
  display: inline-block;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  50.1%, 100% { opacity: 0.3; }
}

.market-badge {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 25px;
}

.badge-item {
  background: #1b2a48;
  border: 3px solid #2d4070;
  padding: 7px 16px;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 5px 5px 0 #0f182b;
  color: #e1efff;
}

.links-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.link-card {
  background: #121c32;
  border: 4px solid #223458;
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  transition: all 0.1s;
  box-shadow: 8px 8px 0 #0a1020, inset 0 0 0 1px #3f5a8c;
}

.link-card:hover {
  background: #162241;
  border-color: #2f4c88;
  transform: translate(-2px, -2px);
  box-shadow: 10px 10px 0 #0a1020;
}

.link-number {
  background: #1f3162;
  color: white;
  font-weight: 900;
  padding: 8px 14px;
  font-size: 1.5rem;
  border: 3px outset #3b5a9c;
  text-shadow: 2px 2px 0 #0e1a33;
  line-height: 1;
}

.link-url {
  font-size: 1.2rem;
  color: #c8e2ff;
  text-decoration: underline wavy #3b5a9c 2px;
  cursor: pointer;
  flex: 1;
  word-break: break-all;
  font-family: 'Courier New', monospace;
  font-weight: 500;
  transition: 0.1s;
}

.link-url:hover {
  color: white;
  text-decoration-color: #7fa2e0;
}

.copy-btn {
  background: #1c2948;
  border: 4px outset #2f4a82;
  color: #ffffff;
  padding: 10px 22px;
  font-family: inherit;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.05s linear;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 #0d172a;
}

.copy-btn:active {
  border: 4px inset #2f4a82;
  background: #121f3a;
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #0d172a;
}

.link-latency {
  font-size: 0.85rem;
  color: #b1c9ff;
  border: 2px dashed #2f4a82;
  padding: 5px 12px;
  background: #0f1b30;
  font-weight: 600;
}

.validator-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 20px 0;
}

.retro-input {
  background: #0d1428;
  border: 5px inset #2c3f6e;
  padding: 14px 18px;
  font-size: 1.2rem;
  color: #fff;
  font-family: 'Courier New', monospace;
  flex: 1;
  min-width: 250px;
  outline: none;
  box-shadow: 0 0 0 2px #1e2e50;
}

.retro-input:focus {
  border-style: solid;
  border-color: #4d72b8;
  background: #111c34;
}

.retro-button {
  background: #1f3162;
  border: 5px outset #3860a8;
  color: white;
  font-weight: 800;
  padding: 14px 30px;
  font-size: 1.3rem;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: 0.05s;
  box-shadow: 5px 5px 0 #0b1426;
}

.retro-button:active {
  border: 5px inset #3860a8;
  background: #152752;
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 #0b1426;
}

.validation-result {
  margin-top: 20px;
  padding: 16px 20px;
  background: #121e36;
  border: 3px solid #1f3460;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: inset 0 0 0 2px #253d70;
}

.validation-result.success {
  border-color: #2bbd7e;
  color: #d0ffec;
  background: #0f2a1f;
  box-shadow: inset 0 0 0 2px #2bbd7e;
}

.validation-result.error {
  border-color: #ff5577;
  color: #ffd1dc;
  background: #2c1a28;
  box-shadow: inset 0 0 0 2px #ff5577;
}

.verification-note {
  margin-top: 16px;
  font-style: italic;
  border-top: 2px dashed #2f4a82;
  padding-top: 12px;
  color: #b3caff;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 25px 0 15px;
}

.info-card {
  background: #111e34;
  border: 4px ridge #2b4170;
  padding: 18px;
  box-shadow: 6px 6px 0 #0a1222;
}

.info-card h3 {
  color: #ffffff;
  border-bottom: 3px solid #2b4170;
  padding-bottom: 8px;
  margin-bottom: 12px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.info-footnote {
  margin-top: 20px;
  font-size: 0.95rem;
  color: #b1c7f0;
  border-left: 6px solid #2b4170;
  padding-left: 15px;
  background: #0f1b2f;
  padding: 12px 15px;
}

.auction-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 10px;
  font-size: 1rem;
  background: #0f1a2d;
  border: 4px ridge #2f4880;
}

.auction-table th {
  background: #1b2d52;
  color: #ffffff;
  padding: 12px 8px;
  border: 3px solid #2f4880;
  text-align: left;
  font-size: 1.1rem;
}

.auction-table td {
  padding: 10px 8px;
  border-bottom: 2px solid #263d68;
  color: #c4d8ff;
}

.auction-table tr:hover td {
  background: #1d315a;
}

.auction-disclaimer {
  font-size: 0.85rem;
  color: #9bb1dc;
  margin-top: 10px;
  padding: 8px;
  background: #0f1a2d;
  border-left: 6px solid #2f4880;
}

.news-item {
  border-left: 8px solid #2f4880;
  padding: 12px 0 12px 20px;
  margin: 16px 0;
  background: #0f1b30;
  font-size: 1rem;
  box-shadow: 0 4px 0 #1c2844;
}

.news-date {
  color: #b3d6ff;
  font-weight: 800;
  display: inline-block;
  min-width: 100px;
}

.widget {
  background: #101b30;
  border: 6px ridge #253b64;
  padding: 18px;
  margin-bottom: 30px;
  box-shadow: 8px 8px 0 #070e1c;
}

.widget-title {
  background: #1f3466;
  color: #ffffff;
  padding: 10px 14px;
  font-size: 1.6rem;
  margin-top: -30px;
  margin-bottom: 20px;
  display: inline-block;
  border: 5px outset #3b5d9c;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  box-shadow: 5px 5px 0 #0c1530;
}

.radar-content {
  font-size: 1rem;
  line-height: 2.2;
  background: #0b1428;
  padding: 12px;
  border: 3px inset #253b64;
}

.radar-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #33ff99;
  margin-right: 12px;
  box-shadow: 0 0 8px #00ffaa, 0 0 2px #00cc88;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 0.8; transform: scale(1); }
}

.radar-footer {
  margin-top: 15px;
  border-top: 2px dashed #2f4880;
  padding-top: 10px;
  font-size: 0.85rem;
  color: #a0b9e6;
}

.lexicon-list {
  list-style: none;
  padding-left: 0;
}

.lexicon-list li {
  border-bottom: 2px dotted #2f4880;
  padding: 10px 0;
  font-size: 1rem;
}

.widget ul {
  list-style: none;
  padding-left: 5px;
}

.widget ul li {
  padding: 5px 0;
  border-bottom: 1px dashed #2f4575;
}

.oldweb-footer {
  border-top: 6px double #2b4172;
  margin-top: 40px;
  padding: 25px 10px;
  background: #0c1425;
  text-align: center;
  font-size: 0.95rem;
  box-shadow: inset 0 8px 8px -8px #1a2c50;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  color: #9eb5e0;
}

@media (max-width: 800px) {
  body { padding: 0 10px 15px; }
  .site-title { font-size: 2.4rem; }
  .nav-table a { font-size: 1rem; }
  .gif-banner img { width: 100%; height: auto; }
  .link-card { flex-direction: column; align-items: stretch; }
  .link-url { font-size: 1rem; }
  .section-title { font-size: 1.6rem; }
  .widget-title { font-size: 1.3rem; margin-top: -20px; }
  .retro-button { font-size: 1rem; padding: 12px 20px; }
}

@media (max-width: 480px) {
  .header-sub { flex-direction: column; gap: 5px; }
  .keyword { font-size: 0.8rem; }
  .badge-item { font-size: 0.8rem; }
  .link-number { font-size: 1.2rem; }
}