/* ==========================================================================
   RETRO 2000s PORTAL - AUTHENTIC Y2K TABLE-BASED STYLESHEET
   ========================================================================== */

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background-color: #000000;
  color: #e0e0e0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.4;
}

a {
  color: #ff2222;
  text-decoration: underline;
}

a:hover {
  color: #ffffff;
}

/* Classic 800x600+ centered wrapper (expanded for right-side Y2K GIFs column) */
.y2k-page-wrapper {
  width: 924px;
  margin: 10px auto 24px auto;
  background-color: #000000;
}

.right-gifs-cell {
  width: 136px;
  vertical-align: top;
  padding-top: 10px;
}

.right-gif-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  border: 1px solid #2a2a2a;
  background: #060606;
  padding: 6px;
}

.right-gif-hdr {
  width: 100%;
  background: #660000;
  color: #ffff66;
  font-family: Verdana, Arial, sans-serif;
  font-size: 9px;
  font-weight: bold;
  text-align: center;
  padding: 2px 0;
  letter-spacing: 0.5px;
}

.right-gif-item {
  display: block;
  width: 120px;
  border: 1px solid #444444;
  background: #000000;
  cursor: pointer;
}

.right-gif-item:hover {
  border-color: #ff3333;
}

/* Main layout table */
.y2k-layout-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 8px 6px;
}

/* ==========================================================================
   TOP HEADER: WF.COM DOTTED BAR + WRESTLEMANIA X-SEVEN GIF + BANNER AD
   ========================================================================== */
.top-header-row {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 70px;
  border-top: 1px solid #444444;
  border-bottom: 1px solid #666666;
  background-color: #000000;
  margin-bottom: 6px;
}

.logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 215px;
  height: 100%;
  background-color: #000000;
  background-image:
    radial-gradient(#262626 1px, transparent 1px),
    linear-gradient(180deg, #000000 0%, #000000 55%, #1d1d1d 85%, #0c0c0c 100%);
  background-size: 3px 3px, 100% 100%;
  border-right: 1px solid #999999;
  cursor: pointer;
  text-decoration: none;
  padding: 4px 10px;
  flex-shrink: 0;
}

.logo-box:hover {
  filter: brightness(1.1);
}

/* WrestleMania X-Seven 2000s Animated GIF Box */
.wm-gif-box {
  position: relative;
  width: 168px;
  height: 100%;
  background-color: #000000;
  border-right: 1px solid #999999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  text-decoration: none;
}

.wm-gif-stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, #0a1f4d 0%, #000000 78%);
  overflow: hidden;
}

/* Classic stepped 2000s GIF glint sweep (low-FPS stepped feel) */
.wm-gif-glint {
  position: absolute;
  top: 0;
  left: -40%;
  width: 32%;
  height: 100%;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.55) 50%, transparent 100%);
  animation: wm-gif-glint-anim 2.4s steps(6, end) infinite;
  pointer-events: none;
}

@keyframes wm-gif-glint-anim {
  0% { left: -40%; opacity: 0; }
  20% { opacity: 1; }
  55% { left: 120%; opacity: 0.9; }
  60%, 100% { left: 120%; opacity: 0; }
}

.wm-gif-footer {
  height: 18px;
  background-color: #000088;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 11px;
  letter-spacing: 0.6px;
  color: #ffcc00;
  animation: wm-ppv-bar 1.8s steps(2, start) infinite;
}

@keyframes wm-ppv-bar {
  0% {
    background-color: #000088;
    color: #ffcc00;
  }
  50% {
    background-color: #990000;
    color: #ffffff;
  }
}

.wm-gif-text-frame1 {
  animation: wm-text-swap-1 3.6s steps(1, end) infinite;
}

.wm-gif-text-frame2 {
  position: absolute;
  animation: wm-text-swap-2 3.6s steps(1, end) infinite;
}

@keyframes wm-text-swap-1 {
  0%, 65% { opacity: 1; }
  66%, 100% { opacity: 0; }
}

@keyframes wm-text-swap-2 {
  0%, 65% { opacity: 0; }
  66%, 100% { opacity: 1; }
}

.banner-cell-flex {
  flex: 1;
  padding: 4px 0 4px 8px;
  display: flex;
  align-items: center;
}

.y2k-banner-ad {
  display: flex;
  align-items: center;
  width: 100%;
  height: 60px;
  background: linear-gradient(180deg, #1b4282 0%, #3d75c9 48%, #24539c 52%, #133166 100%);
  border: 2px solid #d8d8d8;
  outline: 1px solid #5a8de0;
  outline-offset: -4px;
  padding: 4px 8px 4px 6px;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  position: relative;
}

.y2k-banner-ad:hover {
  filter: brightness(1.08);
}

.banner-card-art {
  width: 78px;
  height: 44px;
  flex-shrink: 0;
  margin-right: 8px;
  position: relative;
}

.banner-copy {
  flex: 1;
  text-align: center;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 12.5px;
  line-height: 1.18;
  letter-spacing: -0.2px;
  text-shadow: 1px 1px 2px #000000;
}

.banner-copy u {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ==========================================================================
   LEFT SIDEBAR: BOXED HEADER, ECHOED CONDENSED NAV, BOXED FOOTER
   ========================================================================== */
.sidebar-cell {
  width: 174px;
  vertical-align: top;
  padding-top: 10px;
}

.sidebar-box-btn {
  display: block;
  width: 100%;
  border: 1px solid #2f2f2f;
  background-color: #050505;
  color: #9e9e9e;
  font-family: Impact, 'Arial Narrow', 'Franklin Gothic Heavy', sans-serif;
  font-size: 21px;
  letter-spacing: 0.4px;
  text-align: center;
  padding: 5px 6px;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.1s, border-color 0.1s;
}

.sidebar-box-btn:hover,
.sidebar-box-btn.active {
  color: #ffffff;
  border-color: #880000;
  background-color: #120000;
}

.sidebar-nav {
  list-style: none;
  margin: 16px 0 18px 0;
  padding: 0 6px 0 26px;
}

.sidebar-nav li {
  margin: 0;
  padding: 0;
  line-height: 1.06;
  text-align: right;
}

.sidebar-nav a {
  position: relative;
  display: inline-block;
  font-family: Impact, 'Arial Narrow', 'Franklin Gothic Condensed', sans-serif;
  font-size: 20px;
  font-weight: normal;
  color: #a8a8a8;
  text-decoration: none;
  letter-spacing: 0.3px;
  cursor: pointer;
  z-index: 1;
}

/* Iconic 2000s double-layer ghost echo behind each nav link */
.sidebar-nav a::before {
  content: attr(data-echo);
  position: absolute;
  left: -34px;
  top: 0;
  color: #242424;
  z-index: -1;
  pointer-events: none;
  white-space: nowrap;
}

.sidebar-nav a:hover {
  color: #ffffff;
}

.sidebar-nav a:hover::before {
  color: #4a0000;
}

.sidebar-nav a.active {
  color: #ff2a2a;
}

.sidebar-nav a.active::before {
  color: #3a0000;
}

/* ==========================================================================
   MAIN CONTENT PANE
   ========================================================================== */
.content-cell {
  vertical-align: top;
  padding-top: 10px;
}

/* HERO SPLASH (HOME VIEW) */
.hero-splash {
  position: relative;
  width: 572px;
  height: 412px;
  background-color: #000000;
  overflow: hidden;
  border: 1px solid #140000;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.12) saturate(1.15);
}

/* Fallback crimson radial glow if image is loading */
.hero-splash::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(180, 0, 0, 0.05) 35%, rgba(0, 0, 0, 0.78) 95%);
  pointer-events: none;
}

.hero-event-logo {
  position: absolute;
  top: 14px;
  left: 52%;
  transform: translateX(-30%);
  text-align: center;
  z-index: 3;
  pointer-events: none;
}

.hero-ppv-info {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 4;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 15px;
  line-height: 1.25;
  text-shadow: 0 2px 6px #000000, 0 0 10px #000000;
}

.hero-sponsor-badge {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 4;
  text-align: center;
}

.sponsor-label {
  font-size: 8px;
  font-weight: bold;
  color: #ffffff;
  letter-spacing: 0.6px;
  margin-bottom: 2px;
  text-shadow: 1px 1px 1px #000;
}

.sponsor-game-box {
  background: linear-gradient(180deg, #3c4d24 0%, #1d2610 100%);
  border: 2px outset #8f9e6c;
  padding: 2px 6px;
  color: #ffe866;
  font-family: Impact, Arial, sans-serif;
  font-size: 11px;
  line-height: 1.05;
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 0 #000000;
}

.sponsor-game-box span {
  display: block;
  font-size: 13px;
  color: #ffffff;
}

/* ==========================================================================
   INNER SECTIONS (NEWS, SUPERSTARS, SHOPZONE, WEBCASTS, ETC.)
   ========================================================================== */
.y2k-panel {
  width: 572px;
  min-height: 412px;
  border: 1px solid #333333;
  background-color: #080808;
  padding: 12px 14px;
}

.y2k-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #990000;
  padding-bottom: 6px;
  margin-bottom: 12px;
}

.y2k-panel-title {
  font-family: Impact, 'Arial Narrow', sans-serif;
  font-size: 24px;
  color: #ffffff;
  letter-spacing: 0.8px;
  margin: 0;
  text-transform: uppercase;
}

.y2k-panel-title span {
  color: #ff2222;
}

.y2k-back-btn {
  background: #222222;
  color: #cccccc;
  border: 2px outset #555555;
  font-family: Verdana, Arial, sans-serif;
  font-size: 10px;
  font-weight: bold;
  padding: 3px 8px;
  cursor: pointer;
}

.y2k-back-btn:active {
  border-style: inset;
}

.y2k-marquee {
  background-color: #660000;
  color: #ffff66;
  font-family: Verdana, Arial, sans-serif;
  font-size: 11px;
  font-weight: bold;
  padding: 3px 6px;
  border: 1px solid #aa0000;
  margin-bottom: 12px;
  overflow: hidden;
  white-space: nowrap;
}

.y2k-marquee-inner {
  display: inline-block;
  animation: y2k-scroll 16s linear infinite;
}

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

.y2k-blink-badge {
  display: inline-block;
  background: #ff0000;
  color: #ffff00;
  font-family: Verdana, Arial, sans-serif;
  font-size: 9px;
  font-weight: bold;
  padding: 1px 4px;
  margin-right: 4px;
  animation: y2k-blink 0.9s steps(2, start) infinite;
}

@keyframes y2k-blink {
  to { visibility: hidden; }
}

/* Classic Y2K HTML tables inside panels */
.y2k-data-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Verdana, Arial, sans-serif;
  font-size: 11px;
}

.y2k-data-table th {
  background-color: #880000;
  color: #ffffff;
  text-align: left;
  padding: 5px 7px;
  border: 1px solid #3a3a3a;
  font-size: 11px;
  text-transform: uppercase;
}

.y2k-data-table td {
  padding: 6px 7px;
  border: 1px solid #262626;
  background-color: #0e0e0e;
  color: #d0d0d0;
  vertical-align: top;
}

.y2k-data-table tr:nth-child(even) td {
  background-color: #141414;
}

.y2k-btn {
  background: #c0c0c0;
  color: #000000;
  border: 2px outset #ffffff;
  font-family: 'MS Sans Serif', Tahoma, Arial, sans-serif;
  font-size: 11px;
  font-weight: bold;
  padding: 2px 8px;
  cursor: pointer;
}

.y2k-btn:active {
  border-style: inset;
}

.y2k-btn-red {
  background: #aa0000;
  color: #ffffff;
  border: 2px outset #ff4444;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: bold;
  padding: 3px 9px;
  cursor: pointer;
}

/* Shopzone 2000s Storefront */
.sz-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #000000;
  border: 1px solid #3a3a3a;
  padding: 6px 8px;
  margin-bottom: 8px;
  gap: 8px;
}

.sz-cart-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #141414;
  border: 1px solid #444444;
  padding: 5px 8px;
  margin-bottom: 10px;
  font-family: Verdana, Arial, sans-serif;
  font-size: 11px;
}

.sz-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.sz-item-card {
  display: flex;
  gap: 8px;
  background: #101010;
  border: 1px solid #333333;
  padding: 7px;
  align-items: flex-start;
}

.sz-item-thumb {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border: 1px solid #555555;
  background: #000000;
  flex-shrink: 0;
}

.sz-item-info {
  flex: 1;
  min-width: 0;
}

.sz-item-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: bold;
  color: #ffffff;
  margin: 0 0 3px 0;
}

.sz-item-desc {
  font-size: 10px;
  color: #aaaaaa;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.sz-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sz-price {
  color: #00ff66;
  font-family: Verdana, Arial, sans-serif;
  font-size: 12px;
  font-weight: bold;
}

/* Y2K Poll, TV Badges, Magazine/VHS Cards & 88x31 Buttons */
.y2k-poll-box {
  margin-top: 12px;
  border: 1px solid #550000;
  background: #120505;
  padding: 8px 10px;
  font-family: Verdana, Arial, sans-serif;
  font-size: 11px;
}

.y2k-poll-bar-bg {
  background: #222222;
  border: 1px solid #444444;
  height: 10px;
  margin: 3px 0 6px 0;
}

.y2k-poll-bar-fill {
  background: linear-gradient(90deg, #aa0000, #ff3333);
  height: 100%;
}

.tv-show-card {
  display: flex;
  gap: 10px;
  border: 1px solid #333333;
  background: #0f0f0f;
  padding: 8px;
  margin-bottom: 8px;
  align-items: center;
}

.tv-logo-badge {
  width: 118px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Impact, 'Arial Black', sans-serif;
  font-size: 16px;
  letter-spacing: 0.5px;
  border: 2px outset #666666;
  flex-shrink: 0;
  text-align: center;
}

.tv-raw { background: linear-gradient(180deg, #990000, #330000); color: #ffffff; border-color: #ff3333; }
.tv-sd { background: linear-gradient(180deg, #003399, #001144); color: #66ccff; border-color: #3399ff; }
.tv-heat { background: linear-gradient(180deg, #cc4400, #441100); color: #ffcc00; border-color: #ff6600; }

.star-card-flex {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.star-thumb {
  width: 78px;
  height: 74px;
  object-fit: cover;
  object-position: center 15%;
  border: 1px solid #666666;
  background: #000000;
  flex-shrink: 0;
}

.badge-88x31 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 31px;
  border: 2px outset #888888;
  font-family: 'MS Sans Serif', Tahoma, Arial, sans-serif;
  font-size: 9px;
  font-weight: bold;
  text-align: center;
  line-height: 1.1;
  margin-right: 6px;
  margin-top: 6px;
}

/* ==========================================================================
   CLASSIC INTERNET EXPLORER 5.0 BOTTOM STATUS BAR + 56K & MIDI CONTROLS
   ========================================================================== */
body {
  padding-bottom: 12px;
}

.ie5-statusbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 24px;
  background-color: #c0c0c0;
  border-top: 2px outset #ffffff;
  color: #000000;
  font-family: 'MS Sans Serif', Tahoma, Arial, sans-serif;
  font-size: 11px;
  display: flex;
  align-items: center;
  padding: 2px 4px;
  gap: 3px;
  z-index: 900;
}

.ie5-pane {
  border: 1px inset #ffffff;
  padding: 1px 6px;
  height: 18px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ie5-status-main {
  flex: 1;
}

.ie5-tool-btn {
  background: #c0c0c0;
  color: #000000;
  border: 1px outset #ffffff;
  font-family: 'MS Sans Serif', Tahoma, Arial, sans-serif;
  font-size: 10px;
  font-weight: bold;
  height: 18px;
  padding: 0 6px;
  cursor: pointer;
}

.ie5-tool-btn.active {
  border-style: inset;
  background: #a8d8a8;
}

/* 56k Modem Progressive Scanline Load Effect */
.modem-56k-loading {
  animation: modem-reveal 2.2s steps(14, end) forwards;
}

@keyframes modem-reveal {
  0% { clip-path: inset(0 0 95% 0); filter: blur(1px); }
  50% { clip-path: inset(0 0 45% 0); filter: blur(0.5px); }
  100% { clip-path: inset(0 0 0% 0); filter: none; }
}

/* Rotating Banner Ad Variants */
.banner-ps1 {
  background: linear-gradient(180deg, #111111 0%, #3a0000 50%, #000000 100%) !important;
  outline-color: #ff3333 !important;
}

.banner-armymen {
  background: linear-gradient(180deg, #2d3b18 0%, #4b6127 50%, #1d2610 100%) !important;
  outline-color: #a8c468 !important;
}

.banner-snickers {
  background: linear-gradient(180deg, #4a1c00 0%, #8a3800 50%, #331000 100%) !important;
  outline-color: #ffaa00 !important;
}

/* Guestbook & Buddy Icons */
.buddy-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 6px 0 10px 0;
}

.buddy-icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #141414;
  border: 1px solid #444444;
  padding: 4px;
  cursor: pointer;
  color: #cccccc;
  font-size: 9px;
  width: 64px;
}

.buddy-icon-btn:hover {
  border-color: #ff3333;
  color: #ffffff;
}

.guestbook-entries {
  max-height: 150px;
  overflow-y: auto;
  border: 1px inset #444444;
  background: #050505;
  padding: 6px;
  margin-top: 8px;
  font-size: 11px;
}

.guestbook-entry {
  border-bottom: 1px dashed #2a2a2a;
  padding: 4px 0;
}

/* RealPlayer G2 WWF.com Buffering Screen */
.rp-loader-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, #1a0404 0%, #000000 80%);
}

.rp-loader-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border: 1px solid #444444;
  background-color: #000000;
  background-image: radial-gradient(#2a2a2a 1px, transparent 1px);
  background-size: 3px 3px;
  animation: rp-logo-pulse 0.85s steps(2, start) infinite;
}

@keyframes rp-logo-pulse {
  0% { border-color: #444444; filter: brightness(0.95); }
  50% { border-color: #cc0000; filter: brightness(1.15); }
}

.rp-progress-outer {
  width: 240px;
  height: 14px;
  background: #111111;
  border: 2px inset #666666;
  padding: 1px;
}

.rp-progress-inner {
  height: 100%;
  width: 0%;
  background: repeating-linear-gradient(
    90deg,
    #00cc44 0px,
    #00cc44 10px,
    #000000 10px,
    #000000 13px
  );
  transition: width 0.12s linear;
}

/* ==========================================================================
   CRT MONITOR SCANLINE OVERLAY (TOGGLEABLE)
   ========================================================================== */
.crt-overlay {
  display: none;
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 950;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.28) 0px,
      rgba(0, 0, 0, 0.28) 1px,
      transparent 1px,
      transparent 3px
    ),
    radial-gradient(ellipse at center, transparent 60%, rgba(0, 0, 0, 0.48) 100%);
}

body.crt-enabled .crt-overlay {
  display: block;
}

body.crt-enabled .y2k-page-wrapper {
  filter: contrast(1.06) saturate(1.1);
}

/* ==========================================================================
   2-SECOND Y2K INTRO SPLASH PRELOADER
   ========================================================================== */
.y2k-intro-overlay {
  position: fixed;
  inset: 0;
  background-color: #000000;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transition: opacity 0.25s ease;
}

.y2k-intro-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

/* ==========================================================================
   mIRC #WWF_JudgmentDay CHAT ROOM
   ========================================================================== */
.mirc-window {
  display: flex;
  gap: 8px;
  height: 290px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 11px;
}

.mirc-log {
  flex: 1;
  background: #ffffff;
  color: #000000;
  border: 2px inset #888888;
  padding: 6px;
  overflow-y: auto;
  line-height: 1.45;
}

.mirc-users {
  width: 135px;
  background: #ffffff;
  color: #000080;
  border: 2px inset #888888;
  padding: 6px;
  overflow-y: auto;
  font-weight: bold;
  line-height: 1.5;
}

/* ==========================================================================
   INTERNET EXPLORER 5.0 TOP TOOLBAR + ADDRESS BAR + SEARCH
   ========================================================================== */
.ie5-top-chrome {
  background: #c0c0c0;
  border-bottom: 2px outset #ffffff;
  color: #000000;
  font-family: 'MS Sans Serif', Tahoma, Arial, sans-serif;
  font-size: 11px;
  padding: 3px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ie5-nav-group {
  display: flex;
  gap: 3px;
}

.ie5-address-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 220px;
}

.ie5-address-input {
  flex: 1;
  background: #ffffff;
  color: #000000;
  border: 2px inset #888888;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 11px;
  padding: 2px 5px;
}

.ie5-search-wrap {
  display: flex;
  align-items: center;
  gap: 3px;
}

.ie5-search-input {
  width: 120px;
  background: #ffffff;
  color: #000000;
  border: 2px inset #888888;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 11px;
  padding: 2px 4px;
}

/* Y2K Cursor Sparkle Trail Particle */
.y2k-sparkle {
  position: fixed;
  width: 7px;
  height: 7px;
  pointer-events: none;
  z-index: 995;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: bold;
  line-height: 1;
  animation: sparkle-fade 0.55s linear forwards;
}

@keyframes sparkle-fade {
  0% { opacity: 1; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(0, 14px) scale(0.4); }
}

/* ==========================================================================
   ROYAL RUMBLE HISTORY (WWFROYALRUMBLE.COM/HISTORY STYLE)
   ========================================================================== */
.rr-container {
  display: flex;
  background-color: #660000;
  border: 1px solid #990000;
}

.rr-year-nav {
  width: 96px;
  background-color: #660000;
  border-right: 2px solid #330000;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.rr-year-title {
  background: #330000;
  color: #ffcc00;
  font-family: Verdana, Arial, sans-serif;
  font-size: 9px;
  font-weight: bold;
  text-align: center;
  padding: 4px 2px;
  border-bottom: 1px solid #990000;
}

.rr-year-btn {
  background: #660000;
  color: #ffffff;
  border: none;
  border-bottom: 1px solid #440000;
  font-family: Impact, Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 3px 6px;
  cursor: pointer;
  text-align: center;
}

.rr-year-btn:hover,
.rr-year-btn.active {
  background: #aa0000;
  color: #ffff00;
}

.rr-main {
  flex: 1;
  background: #000000;
  display: flex;
  flex-direction: column;
}

.rr-info-box {
  padding: 8px 10px;
  background: #140202;
  border-top: 2px solid #660000;
  font-family: Verdana, Arial, sans-serif;
  font-size: 11px;
  color: #e0e0e0;
}

.rr-collage {
  position: relative;
  width: 100%;
  height: 310px;
  background: radial-gradient(ellipse at center, #7a0000 0%, #4a0000 85%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rr-polaroid {
  position: absolute;
  width: 245px;
  height: auto;
  border: 3px solid #ffffff;
  box-shadow: 3px 5px 14px rgba(0, 0, 0, 0.85);
  background: #000000;
  transition: transform 0.15s;
}

.rr-polaroid:hover {
  z-index: 5 !important;
  transform: scale(1.06) rotate(0deg) !important;
}

.rr-p1 {
  left: 16px;
  top: 22px;
  transform: rotate(-5deg);
  z-index: 2;
}

.rr-p2 {
  right: 16px;
  bottom: 22px;
  transform: rotate(4deg);
  z-index: 3;
}

.rr-year-stamp {
  position: absolute;
  top: 10px;
  right: 14px;
  background: #000000;
  border: 2px outset #ffcc00;
  color: #ffcc00;
  font-family: Impact, Arial, sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  padding: 2px 10px;
  z-index: 4;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   WWFGAMES.COM INDUSTRIAL METALLIC LAYOUT
   ========================================================================== */
.wg-wrap {
  background: #080808;
  border: 1px solid #444444;
  font-family: Arial, Helvetica, sans-serif;
}

.wg-top-bar {
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #5a5a5a 0%, #3a3a3a 50%, #262626 100%);
  border-bottom: 2px solid #777777;
  padding: 6px 10px;
  gap: 10px;
}

.wg-g-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff2222, #770000 70%, #220000);
  border: 3px outset #aaaaaa;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.wg-title-text {
  font-family: Impact, 'Arial Black', sans-serif;
  font-size: 26px;
  color: #ffffff;
  letter-spacing: 1px;
  text-shadow: 2px 2px 2px #000000;
}

.wg-body {
  display: flex;
  align-items: stretch;
}

.wg-consoles {
  width: 118px;
  background: #000000;
  border-right: 2px solid #555555;
  padding: 8px 6px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wg-consoles-hdr {
  color: #cccccc;
  font-family: Impact, Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.4px;
  border-bottom: 1px solid #444444;
  padding-bottom: 4px;
  margin-bottom: 4px;
}

.wg-console-btn {
  background: transparent;
  border: none;
  color: #cc1111;
  font-family: Impact, 'Arial Narrow', sans-serif;
  font-size: 12px;
  letter-spacing: 0.4px;
  text-align: right;
  padding: 2px 4px;
  cursor: pointer;
}

.wg-console-btn:hover {
  color: #ffffff;
}

.wg-console-btn.active {
  color: #00ff00;
}

.wg-stage {
  flex: 1;
  background-color: #0e0e0e;
  background-image: repeating-linear-gradient(
    0deg,
    #141414 0px,
    #141414 1px,
    #0a0a0a 1px,
    #0a0a0a 3px
  );
  padding: 8px;
}

.wg-featured-tab {
  display: inline-block;
  background: #2b2b2b;
  border: 1px solid #666666;
  border-bottom: none;
  color: #33ff33;
  font-family: Impact, Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.8px;
  padding: 2px 12px;
}

.wg-game-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(180deg, #444444 0%, #1c1c1c 100%);
  border: 1px solid #666666;
  padding: 4px 8px;
  margin-bottom: 8px;
}

.wg-game-name {
  color: #ffffff;
  font-family: Impact, Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.wg-platform-name {
  color: #dcdcdc;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: bold;
}

.wg-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.wg-col {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid #333333;
  padding: 5px;
}

.wg-shot {
  width: 100%;
  height: 92px;
  object-fit: cover;
  border: 1px solid #777777;
  display: block;
  margin-bottom: 5px;
}

.wg-col-title {
  color: #cccccc;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.wg-col-text {
  color: #bbbbbb;
  font-family: Verdana, Arial, sans-serif;
  font-size: 9.5px;
  line-height: 1.35;
  margin: 0;
}

/* Superstars Grid */
.superstars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.superstar-card {
  border: 1px solid #333333;
  background: #111111;
  padding: 8px;
}

.superstar-card h4 {
  margin: 0 0 4px 0;
  color: #ff3333;
  font-family: Impact, Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0.4px;
}

.superstar-card p {
  margin: 2px 0;
  font-size: 11px;
  color: #cccccc;
}

/* RealPlayer / Webcast box */
.realplayer-box {
  background: #2b2b2b;
  border: 2px outset #666666;
  padding: 10px;
  color: #e0e0e0;
  font-family: Tahoma, Verdana, sans-serif;
}

.realplayer-screen {
  background: #000000;
  border: 2px inset #444444;
  height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  color: #00ff66;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.eq-bars {
  display: flex;
  gap: 4px;
  height: 28px;
  align-items: flex-end;
  margin-top: 8px;
}

.eq-bar {
  width: 6px;
  background: #ff2222;
  height: 6px;
  transition: height 0.15s;
}

.eq-bars.playing .eq-bar {
  animation: eq-bounce 0.45s infinite alternate ease-in-out;
}
.eq-bars.playing .eq-bar:nth-child(2) { animation-delay: 0.1s; }
.eq-bars.playing .eq-bar:nth-child(3) { animation-delay: 0.25s; }
.eq-bars.playing .eq-bar:nth-child(4) { animation-delay: 0.05s; }
.eq-bars.playing .eq-bar:nth-child(5) { animation-delay: 0.2s; }

@keyframes eq-bounce {
  from { height: 4px; }
  to { height: 26px; }
}

/* Hit counter */
.hit-counter {
  display: inline-block;
  background: #000000;
  border: 2px inset #555555;
  padding: 2px 6px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  font-weight: bold;
  color: #00ff00;
  letter-spacing: 2px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.y2k-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 4px 8px 0 8px;
}

.y2k-footer-logo {
  height: 36px;
  width: auto;
  display: block;
  cursor: pointer;
}

.y2k-footer-center {
  flex: 1;
  text-align: center;
  padding-right: 78px;
}

/* PPV Event Switcher Strip */
.ppv-switcher-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0b0b0b;
  border: 1px solid #333333;
  padding: 4px 8px;
  margin-bottom: 6px;
  gap: 8px;
}

.ppv-switch-label {
  color: #ffcc00;
  font-family: Verdana, Arial, sans-serif;
  font-size: 10px;
  font-weight: bold;
  white-space: nowrap;
}

.ppv-switch-btns {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
}

.ppv-switch-btn {
  background: #1a1a1a;
  color: #cccccc;
  border: 1px outset #555555;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 7px;
  cursor: pointer;
}

.ppv-switch-btn.active {
  background: #990000;
  color: #ffffff;
  border-color: #ff3333;
}

.ppv-backlash-banner {
  width: 100%;
  border: 1px solid #444444;
  margin-bottom: 6px;
  display: block;
  cursor: pointer;
}

/* ==========================================================================
   WINAMP 2.X CLASSIC MUSIC PLAYER & CHAMPIONSHIPS & TRIVIA
   ========================================================================== */
.winamp-box {
  margin-top: 12px;
  background: linear-gradient(180deg, #32343d 0%, #1c1d24 100%);
  border: 2px outset #555966;
  padding: 6px 8px;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 10px;
  color: #ffffff;
}

.winamp-titlebar {
  background: linear-gradient(90deg, #0c1f4a, #244a8c, #0c1f4a);
  color: #ffffff;
  font-weight: bold;
  font-size: 10px;
  padding: 2px 6px;
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
  letter-spacing: 0.5px;
}

.winamp-lcd {
  background: #000000;
  border: 2px inset #444444;
  color: #00ff44;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  padding: 4px 6px;
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
}

.winamp-viz-bar {
  height: 34px;
  background: #000000;
  border: 2px inset #444444;
  margin-top: 6px;
  padding: 3px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.winamp-wwf-loader {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Courier New', monospace;
  font-size: 10px;
  color: #ffff00;
}

.winamp-wwf-loader img {
  height: 22px;
  width: auto;
}

.winamp-wwf-loader.buffering img {
  animation: rp-logo-pulse 0.35s steps(2, start) infinite;
}

.winamp-eq {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 24px;
  flex: 1;
  justify-content: flex-end;
}

.winamp-eq span {
  width: 5px;
  height: 4px;
  background: linear-gradient(180deg, #ff2222 0%, #ffff00 45%, #00ff44 100%);
}

.winamp-eq.playing span {
  animation: eq-bounce 0.38s infinite alternate ease-in-out;
}
.winamp-eq.playing span:nth-child(2n) { animation-delay: 0.12s; }
.winamp-eq.playing span:nth-child(3n) { animation-delay: 0.24s; }
.winamp-eq.playing span:nth-child(5n) { animation-delay: 0.06s; }

.champ-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.champ-card {
  background: #101010;
  border: 1px solid #444400;
  padding: 7px;
  font-size: 11px;
}

.champ-card b {
  color: #ffcc00;
}

.trivia-box {
  margin-top: 10px;
  border: 1px solid #004488;
  background: #050a14;
  padding: 8px;
  font-size: 11px;
}

.trivia-opt {
  display: block;
  width: 100%;
  text-align: left;
  background: #141c2c;
  color: #e0e0e0;
  border: 1px solid #335588;
  padding: 4px 8px;
  margin-top: 4px;
  cursor: pointer;
  font-size: 11px;
}

.trivia-opt:hover {
  background: #1e3252;
  color: #ffffff;
}

.privacy-link {
  display: inline-block;
  color: #e61919;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  text-decoration: underline;
  margin-bottom: 12px;
  cursor: pointer;
}

.copyright-text {
  color: #d8d8d8;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  letter-spacing: 0.1px;
}

/* Classic Windows 98 / IE5 Pop-up Modal */
.win98-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.win98-modal-backdrop.open {
  display: flex;
}

.win98-window {
  width: 380px;
  background: #c0c0c0;
  border: 2px outset #ffffff;
  color: #000000;
  font-family: 'MS Sans Serif', Tahoma, Arial, sans-serif;
  box-shadow: 4px 4px 0 #000000;
}

.win98-titlebar {
  background: linear-gradient(90deg, #000080, #1084d0);
  color: #ffffff;
  font-weight: bold;
  font-size: 12px;
  padding: 3px 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.win98-close {
  background: #c0c0c0;
  color: #000000;
  border: 1px outset #ffffff;
  font-weight: bold;
  font-size: 10px;
  width: 16px;
  height: 15px;
  line-height: 12px;
  text-align: center;
  cursor: pointer;
}

.win98-body {
  padding: 14px;
  font-size: 12px;
}

/* Dark Retro WWF TitanTron Player Skin */
.win98-window.titantron-mode {
  width: 420px;
  max-width: 95vw;
  background: linear-gradient(180deg, #1b1b1b 0%, #090909 100%);
  border: 2px solid #555555;
  outline: 1px solid #990000;
  color: #dddddd;
  box-shadow: 0 0 18px rgba(180, 0, 0, 0.55), 4px 4px 0 #000000;
}

.win98-window.titantron-mode .win98-titlebar {
  background: linear-gradient(90deg, #7a0000 0%, #1c0000 60%, #0a0a0a 100%);
  border-bottom: 1px solid #aa0000;
  color: #ffffff;
  letter-spacing: 0.4px;
}

.win98-window.titantron-mode .win98-close {
  background: #222222;
  color: #ff4444;
  border: 1px outset #666666;
}

.win98-window.titantron-mode .win98-body {
  padding: 10px;
  background: #080808;
}

.win98-window.titantron-mode .win98-ok {
  background: linear-gradient(180deg, #440000, #1a0000);
  color: #ffffff;
  border: 1px outset #aa2222;
  font-weight: bold;
}

/* 88x31 Y2K Footer Badges, IE 5.0 Status Bar, 56K Dial-Up & Superstar of the Week */
.y2k-88x31-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  margin-top: 8px;
}

.y2k-badge-88 {
  display: inline-block;
  font-family: Verdana, Arial, sans-serif;
  font-size: 9px;
  padding: 2px 6px;
  border: 1px outset #888888;
  letter-spacing: 0.2px;
}

.ie5-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #c0c0c0;
  color: #000000;
  border-top: 2px inset #ffffff;
  border-bottom: 1px solid #808080;
  padding: 2px 8px;
  font-family: 'MS Sans Serif', Tahoma, Arial, sans-serif;
  font-size: 11px;
  margin-top: 4px;
}

.sotw-card {
  width: 120px;
  border: 1px solid #660000;
  background: #0b0202;
  padding: 5px;
  text-align: center;
  font-size: 10px;
  margin-top: 4px;
}

@keyframes dialupReveal {
  0% { clip-path: inset(0 0 100% 0); filter: contrast(0.75) blur(1px); }
  50% { clip-path: inset(0 0 42% 0); filter: contrast(0.9); }
  100% { clip-path: inset(0 0 0 0); filter: none; }
}

body.dialup-56k img.dialup-loading {
  animation: dialupReveal 1.35s steps(10, end) 1;
}

.ppv-switch-btn.active {
  border-color: #ffcc33 !important;
  box-shadow: 0 0 8px rgba(255, 68, 68, 0.75);
}

.era-year-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  font-family: Verdana, Arial, sans-serif;
  font-size: 9px;
  font-weight: bold;
  letter-spacing: 0.5px;
  border: 1px solid #ffcc33;
  background: #660000;
  color: #ffcc33;
}
.era-year-badge.era-1998 { background: #550000; border-color: #ff4444; color: #ffffff; }
.era-year-badge.era-1999 { background: #552200; border-color: #ff9900; color: #ffcc33; }
.era-year-badge.era-2000 { background: #770000; border-color: #ffcc33; color: #ffff66; }
.era-year-badge.era-2001 { background: #1a2a44; border-color: #66aaff; color: #ffffff; }
.era-year-badge.era-2002 { background: #002266; border-color: #ffcc33; color: #ffcc33; }
