html, body {
    height: 100%;
    margin: 0; /* Remove default body margin */
    padding: 0; /* Remove default body padding */
}

body {
  margin: 0;
  background: url('images/bg.png');
  font-family: "Courier New", monospace;
  color: #00FF00;
}

/* Utility Classes */
.d-inline {
  display: inline;  
}

.d-block {
  display: block;
}

.d-none {
  display: none;
}

.m-0 {
  margin: 0px;
}

.mb-0 {
  margin-bottom: 0px;
}

mt-0 {
  margin-top: 0px;
}

.mt-5 {
  margin-top: 5px;
}

.mb-5 {
  margin-bottom: 5px;
}

.w-25 {
  width: 25%;
}

.w-50 {
  width: 50%;
}

.w-75 {
  width: 75%;
}

.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
}

.v-align-top {
  vertical-align: top;
}

.v-align-middle {
  vertical-align: middle;
}

.icon-emoji {
  width: 16px;
  height: 16px;
}

.icon-small {
  width: 30px;
}

.icon-medium {
  width: 60px;
}

.icon-large {
  width: 90px;
}

/* Layout */
.sidebar {
  width: 230px;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  border-right: 2px solid lime;
  padding: 20px;
}

.content {
  padding: 20px;
}

.sidebar h2 {
  color: #ff6666;
  font-size: 20px;
  margin-bottom: 10px;
}

.sidebar a {
  display: block;
  font-size: 18px;
  color: #00ff00;
  text-decoration: none;
  margin: 5px 0;
}

.sidebar a:hover {
  text-shadow: 0 0 5px red;
}

.sidebar-ad {
  width: 130px;
}

.link-entry, .game-entry, .cheat-entry, .util-entry {
  margin-bottom: 20px;
  border-bottom: 1px dashed #00ff00;
  padding-bottom: 10px;
}

.link-entry a {
  font-weight: bold;
  font-size: 1.1em;
}

.link-entry p {
  margin: 5px 0 0 0;
  font-size: 0.95em;
}

.ascii {
  font-size: 10px;
  white-space: pre;
  text-align: center;
}

h1 {
  text-align: center;
  color: #ff6666;
}

img {
  display: block;
  margin: 10px auto;
}

p {
  font-weight: normal;
}

.crt-effect {
    /* Curved screen effect */
    border-radius: 10px;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.5);
    
    /* Screen glow */
    filter: contrast(1.2) brightness(1.1);
    
    /* Slight curve distortion */
    transform: perspective(1000px) rotateX(1deg);
}

.crt-scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(18, 16, 16, 0) 50%, 
        rgba(0, 0, 0, 0.25) 50%
    );
    background-size: 100% 4px;
    /* animation: scanlines 0.1s linear infinite; */
    pointer-events: none;
    z-index: 1000;
}

@keyframes scanlines {
    0% { transform: translateY(0px); }
    100% { transform: translateY(4px); }
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}