body {
  background-color: #282c34;
  background-image:
    radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 4px),
    radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 3px),
    radial-gradient(white, rgba(255,255,255,.1) 2px, transparent 4px),
    radial-gradient(rgba(255,255,255,.4), rgba(255,255,255,.1) 2px, transparent 3px);
  background-size: 550px 550px, 350px 350px, 250px 250px, 150px 150px;
  background-position: 0 0, 40px 60px, 130px 270px, 70px 100px;
  color: #c0c0c0;
  font-family: Arial, Helvetica, sans-serif;
  margin: 20px;
  cursor: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='cyan' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 4l16 6-7 2-2 7-7-15z'/%3E%3C/svg%3E") 4 4, auto;
}

body:active {
  cursor: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='magenta' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 4l16 6-7 2-2 7-7-15z'/%3E%3C/svg%3E") 4 4, auto;
}

.wrapper {
  max-width: 800px;
  margin: 0 auto;
  background-color: #000;
  border: 6px ridge #808080;
}

header {
  text-align: center;
  border-bottom: 6px ridge #808080;
  padding: 10px;
  background-color: #ff00ff;
}

h1 {
  font-family: "Times New Roman", Times, serif;
  color: #ffff00;
  text-shadow: 2px 2px #ff0000;
  margin: 5px 0;
  font-size: 2.5em;
}

marquee {
  color: #00ff00;
  font-weight: bold;
  font-family: "Courier New", Courier, monospace;
  background-color: #fffb00;
  padding: 2px;
}

.content-area {
  display: flex;
}

.sidebar {
  width: 200px;
  border-right: 6px ridge #808080;
  padding: 15px;
  background-color: #232323;
}

.sidebar h3 {
  color: #ff00ff;
  border-bottom: 1px dashed #ff00ff;
  margin-top: 0;
}

.sidebar ul {
  list-style-type: square;
  padding-left: 20px;
}

.sidebar a {
  color: #00ffff;
  text-decoration: none;
}

.sidebar a:hover {
  color: #fff;
  text-decoration: underline;
}

.badges {
  margin-top: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge-placeholder {
  display: block;
  width: 88px;
  height: 31px;
  border: 1px solid #fff;
  color: #fff;
  font-size: 10px;
  line-height: 31px;
  margin-bottom: 5px;
  background: #333;
}

.badge-magenta {
  background-color: #ff00ff;
}

.badge-cyan {
  background-color: #02ffff;
}

.main-blog {
  flex-grow: 1;
  padding: 20px;
  line-height: 1.4;
}

.blog-post {
  margin-bottom: 30px;
}

.blog-date {
  color: #00ff00;
  font-family: "Courier New", Courier, monospace;
  font-weight: bold;
  border-bottom: 1px solid #333;
  display: block;
  margin-bottom: 10px;
}

.blog-post h2 {
  margin: 0 0 10px 0;
  color: #fff;
  font-family: "Times New Roman", Times, serif;
}

hr {
  border: 0;
  height: 4px;
  background-color: #ff00ff;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #333;
  margin: 20px 0;
}

.blink {
  animation: blinker 1s linear infinite;
  color: #ff0000;
  font-weight: bold;
}

@keyframes blinker {
  50% { opacity: 0; }
}

footer {
  text-align: right;
  border-top: 6px ridge #808080;
  padding: 10px;
  font-size: 0.8em;
  background-color: #fffb00;
  color: #fff;
}

.source-badge {
  display: inline-flex;
  width: 84px;
  height: 30px;
  text-decoration: none;
  border: 1px solid #ff00ff;
  box-sizing: border-box;
  background: #000;
  box-shadow: #00ffff 2px 2px 0px;
  overflow: hidden;
  transition: transform 0.1s;
}

.source-badge:hover {
  transform: translateY(-2px);
}

.source-badge-icon {
  background: #00ffff;
  height: 100%;
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

.source-badge-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 5px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 10px;
  font-weight: bold;
  line-height: 1.25;
  white-space: nowrap;
}

.source-badge-text span {
  color: #ff00ff;
}

.bounce-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bounce-x {
  position: absolute;
  top: 0;
  left: 0;
  width: 150px;
  height: 50px;
  animation: moveX 4s linear infinite alternate;
}

.bounce-y {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  animation: moveY 3.4s linear infinite alternate;
}

.bounce-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 50px;
  color: #ff00ff;
  border: 2px solid #ff00ff;
  font-family: sans-serif;
  font-weight: bold;
  font-size: 24px;
  animation: colorChange 8s steps(4) infinite;
}

@keyframes moveX {
  from { left: 0; }
  to { left: calc(100vw - 150px); }
}

@keyframes moveY {
  from { top: 0; }
  to { top: calc(100vh - 50px); }
}

@keyframes colorChange {
  0% { color: #ff00ff; border-color: #ff00ff; }
  25% { color: #00ffff; border-color: #00ffff; }
  50% { color: #ffff00; border-color: #ffff00; }
  75% { color: #00ff00; border-color: #00ff00; }
}

@media (max-width: 600px) {
  .content-area { flex-direction: column; }
  .sidebar { width: auto; border-right: none; border-bottom: 6px ridge #808080; }
}
