/* style404.css – Classic Roblox + Glitch Theme */

body, h1, p, ul, li, table, td {
  margin: 0; padding: 0;
  font-family: Verdana, sans-serif;
}
body {
  background: #000; color: #ddd; font-size: 13px;
}
a { color: #ff3d3d; text-decoration: none; }
a:hover { text-decoration: underline; }

/* HEADER */
#header { background: #111; border-bottom: 2px solid #330000; }
.logo-cell { padding: 8px 16px; }
#logo { height: 32px; }
.search-cell { padding: 8px 16px; }
#search {
  width: 140px; padding: 4px; border: 1px solid #333; background: #222;
  color: #ddd; border-radius: 2px;
}
#search-btn {
  padding: 4px 8px; margin-left: 4px; background: #ff3d3d;
  border: none; border-radius: 2px; color: #111; font-weight: bold;
  cursor: pointer;
}
#search-btn:hover { background: #e63636; }

/* NAVBAR */
#navbar { background: #220000; }
#navbar td {
  text-align: center; padding: 6px 12px;
}
#navbar a {
  color: #ddd; font-weight: bold; font-size: 12px;
}
#navbar a:hover {
  background: #330000; border-radius: 3px; padding: 4px 8px;
}

/* LAYOUT */
#layout {
  width: 960px; margin: 20px auto;
  background: #111; border: 1px solid #330000;
}
#sidebar {
  width: 180px; background: #1a1a1a; border-right: 1px solid #333;
  padding: 12px;
}
#sidebar ul { list-style: disc inside; }
#sidebar li { margin-bottom: 6px; }
#sidebar a { color: #ddd; font-size: 12px; }
#sidebar a:hover { color: #ff3d3d; }

/* CONTENT */
#content { padding: 20px; color: #ddd; }
.glitch {
  position: relative; font-size: 48px; color: #f00; letter-spacing: 1px;
  animation: glitch-skew 1s infinite linear;
}
.glitch::before,
.glitch::after {
  content: attr(data-text); position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; opacity: 0.8; clip: rect(0,900px,0,0);
}
.glitch::before {
  left: 2px; text-shadow: -2px 0 #f33; animation: glitch-top 1s infinite linear;
}
.glitch::after {
  left: -2px; text-shadow: -2px 0 #c00; animation: glitch-bottom 1s infinite linear;
}
@keyframes glitch-top {
  0% { clip: rect(0,900px,30px,0); } 20% { clip: rect(10px,900px,50px,0); }
  40% { clip: rect(0,900px,20px,0); } 60% { clip: rect(25px,900px,60px,0); }
  80% { clip: rect(0,900px,35px,0); } 100% { clip: rect(10px,900px,55px,0); }
}
@keyframes glitch-bottom {
  0% { clip: rect(60px,900px,90px,0); } 20% { clip: rect(50px,900px,80px,0); }
  40% { clip: rect(70px,900px,100px,0); } 60% { clip: rect(55px,900px,85px,0); }
  80% { clip: rect(65px,900px,95px,0); } 100% { clip: rect(50px,900px,80px,0); }
}
@keyframes glitch-skew {
  0% { transform: skew(0deg); } 20% { transform: skew(2deg); }
  40% { transform: skew(-2deg); } 60% { transform: skew(1deg); }
  80% { transform: skew(-1deg); } 100% { transform: skew(0deg); }
}

.subtitle {
  margin: 12px 0 8px; font-size: 18px; color: #f33;
  text-transform: uppercase;
}
.description {
  font-size: 14px; margin-bottom: 16px; line-height: 1.4; color: #ccc;
}

/* ACTION BUTTONS */
.error-actions {
  margin: 16px 0; border-collapse: collapse;
}
.error-actions td { padding-right: 8px; }
.btn {
  display: inline-block; padding: 6px 12px; background: #f00;
  color: #111; font-weight: bold; border-radius: 2px; text-decoration: none;
}
.btn:hover { background: #c00; }

/* IMAGE */
.img-container {
  text-align: center; margin-top: 20px;
}
.error-img {
  max-width: 100%; border: 1px solid #333;
}

/* FOOTER */
#footer {
  background: #111; padding: 12px; text-align: center;
  font-size: 11px; color: #555; border-top: 1px solid #333;
}
