@import url('https://fonts.googleapis.com/css2?family=Cherry+Bomb+One&display=swap');

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-image: url("https://safebooru.org//samples/1999/sample_a240ac434f9b65b7b8f003357f733d05f1281878.jpg?2084016");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: "ms ui gothic";
  font-size: 13px;
}

/* ===== WRAPPER ===== */
#wrapper {
  width: 1000px;
  margin: 40px auto;
  background: #fcd681;
  border: 4px solid #ffffff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

/* ===== HEADER ===== */
#header {
  position: relative;
}

#header > img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== HEADER TITLE ===== */
#header h1 {
  margin: 0;
  text-align: center;
  font-family: "Cherry Bomb One", system-ui;
  font-size: 97px;
  color: #e77b6e;
}

/* ===== LOGO ===== */
#logo {
  position: absolute;
  bottom: 67px;
  text-align: center;
  left: 171px;
}

#logo img {
  width: 100px;
  height: auto;
}

/* ===== TOP NAV ===== */
#topnav {
  text-align: center;
  padding: 10px 8px;
  background: #fcd681;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}

#topnav a {
  display: inline-block;
  padding: 5px 14px;
  background: #fcd681;
  color: rgb(251, 117, 117);
  text-decoration: none;
  font-family: "ms ui gothic", Tahoma, sans-serif;
  font-size: 12px;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #999999;
  border-right: 2px solid #999999;
  cursor: pointer;
}

#topnav a:hover {
  background: #ffffff;
  border-top: 2px solid #999999;
  border-left: 2px solid #999999;
  border-bottom: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
}

/* ===== THREE-COLUMN LAYOUT ===== */
#content-area {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px;
  width: 100%;
}

/* ===== LEFT SIDEBAR ===== */
#left-sidebar {
  width: 160px;
  min-width: 160px;
  flex-shrink: 0;
  overflow: hidden;
  background: #fff8e1;
  border: 1px solid #f0b030;
  font-size: 12px;
}

#left-sidebar h3 {
  margin: 0;
  padding: 5px 8px;
  background: #f9b234;
  color: #ffffff;
  font-size: 12px;
  font-family: Tahoma, Verdana, sans-serif;
  border-bottom: 1px solid #e09010;
}

#left-sidebar a {
  display: block;
  padding: 5px 10px;
  color: #885500;
  text-decoration: none;
  border-bottom: 1px dotted #f0c060;
  font-size: 12px;
}

#left-sidebar a:hover {
  background: #ffe082;
  color: #cc4400;
}

#gifs {
  padding: 8px 0;
  text-align: center;
}

#gifs img {
  width: 100%;
  height: auto;
  display: block;
}


/* ===== BLINKIES ===== */
.blinkies {
  padding: 6px 4px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-start;
}

.blinkies img {
  height: auto;
  width: auto;
  max-width: 100%;
  display: block;
}

/* ===== SIDEBAR IMAGE ===== */
#sidebar-image {
  padding: 8px 0 0 0;
  text-align: center;
}

#sidebar-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== MAIN CONTENT ===== */
#main-content {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #f0b030;
  padding: 12px 14px;
  min-height: 400px;
  font-size: 13px;
  line-height: 1.6;
  color: #333;
}

#main-content h2 {
  margin: 0 0 10px 0;
  font-size: 15px;
  font-style: italic;
  color: #e07800;
  font-family: Tahoma, Verdana, sans-serif;
  font-weight: bold;
}

#main-content p {
  margin: 0 0 8px 0;
}

/* ===== NOW PLAYING BOX ===== */
.now-playing {
  margin-top: 12px;
  margin-bottom: 4px;
  border: 2px solid #f9b234;
  background: #fffde7;
  padding: 8px 12px;
  font-size: 12px;
  color: #444;
}

.now-playing h4 {
  margin: 0 0 4px 0;
  color: #cc6600;
  font-size: 12px;
  font-family: Tahoma, Verdana, sans-serif;
}

.now-playing p {
  margin: 0 0 4px 0;
  font-size: 12px;
}

/* ===== BLOG POST ===== */
.blog-post {
  margin-top: 14px;
  border: 2px dashed #f0b030;
  background: #fffde7;
  padding: 10px 12px;
  font-size: 12px;
  color: #444;
}

.blog-post h4 {
  margin: 0 0 4px 0;
  color: #555;
  font-size: 12px;
  font-family: Tahoma, Verdana, sans-serif;
}

.blog-post p {
  margin: 0 0 6px 0;
  font-size: 12px;
}

/* ===== BOTTOM STAMPS ===== */
.bottom-stamps {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
  padding: 10px;
}

.bottom-stamps img {
  width: 93px;
  height: 70px;
  object-fit: cover;
}

/* ===== RIGHT SIDEBAR ===== */
#right-sidebar {
  width: 160px;
  min-width: 160px;
  flex-shrink: 0;
  background: #fff8e1;
  border: 1px solid #f0b030;
  font-size: 12px;
}

#right-sidebar h3 {
  margin: 0;
  padding: 5px 8px;
  background: #f9b234;
  color: #ffffff;
  font-size: 12px;
  font-family: Tahoma, Verdana, sans-serif;
  border-bottom: 1px solid #e09010;
}

#right-sidebar p {
  padding: 6px 10px 0 10px;
  margin: 0;
  font-size: 12px;
  color: #333;
  line-height: 1.5;
}

#right-sidebar strong {
  color: #cc6600;
  display: block;
  margin-bottom: 2px;
}

/* ===== FAKE ADS ===== */
.fake-ads {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 6px;
}

.fake-ads img {
  max-width: 148px;
  height: auto;
  display: block;
}

/* ===== FILTER BAR (shared by game library + anime/manga) ===== */
#filter-bar {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #885500;
}

.filter-btn {
  padding: 3px 10px;
  font-size: 11px;
  font-family: Tahoma, Verdana, sans-serif;
  background: #fcd681;
  color: #885500;
  cursor: pointer;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #999999;
  border-right: 2px solid #999999;
}

.filter-btn:hover,
.filter-btn.active {
  background: #ffffff;
  border-top: 2px solid #999999;
  border-left: 2px solid #999999;
  border-bottom: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
}

/* ===== FOOTER ===== */
#footer {
  text-align: center;
  padding: 10px;
  background: #fcd681;
  border-top: 2px solid #f0b030;
  color: #888;
  font-size: 12px;
  border-bottom-left-radius: 22px;
  border-bottom-right-radius: 22px;
}