html {
  min-height: 100vh;
  cursor: url('assets/cursor.png'), default !important;
}

*,
*:hover,
*:active,
*:focus,
*:focus-within {
  cursor: url('assets/cursor.png'), default !important;
}

body {
  background-image: url('assets/bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  margin: 0;
  padding: 40px 0;
  font-family: "MS Gothic", "MS PGothic", "Osaka", "MS UI Gothic", "Tahoma", "Verdana", sans-serif;
  color: #d95300;
}

#container {
  width: 850px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.85);
  border: 2px solid #d95300;
  box-shadow: 10px 10px 0px rgba(0,0,0,0.3);
  background-image: linear-gradient(rgba(217, 83, 0, 0.08) 1px, transparent 1px),
  linear-gradient(90deg, rgba(217, 83, 0, 0.08) 1px, transparent 1px);
  background-size: 3px 3px;
}

#banner {
  height: 180px;
  border-bottom: 2px solid #d95300;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

#banner::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('assets/rena-header.png');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 1;
}

#banner::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('assets/rena-header-top.png');
  background-size: cover;
  background-position: center;
  opacity: 1;
  z-index: 2;
}

#banner-text {
  position: relative;
  z-index: 3;
  padding-left: 30px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.1) 100%);
  padding-right: 20px;
  border-radius: 0 10px 10px 0;
}

#banner-text h1 {
  font-size: 30px;
  margin: 0;
  letter-spacing: 2px;
  text-transform: lowercase;
  color: #d95300;
  text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.9);
}

#flex-wrapper {
  display: flex;
  padding: 20px;
  gap: 20px;
}

#sidebar {
  width: 170px;
}

.nav-title {
  background: linear-gradient(180deg, #ff8800 0%, #d95300 100%);
  color: white;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.2);
}

.nav-item {
  display: block;
  border: 1px solid #d95300;
  border-top: none;
  padding: 8px;
  text-decoration: none;
  color: #d95300;
  font-size: 13px;
  background-color: #ffffff;
  transition: 0.1s;
}

.nav-item:hover {
  background-color: #d95300;
  color: #ffffff;
  padding-left: 12px;
}

#profile-box {
  margin-top: 20px;
  border: 1px dashed #d95300;
  padding: 10px;
  min-height: 80px;
  background: rgba(255, 255, 255, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
}

#profile-box img {
  width: 80px;
  height: 28px;
  display: block;
}

#main-content {
  flex: 1;
}

.welcome-box {
  border: 1px solid #d95300;
  margin-bottom: 20px;
  background: white;
}

.box-header {
  background: linear-gradient(180deg, #ff8800 0%, #d95300 100%);
  color: white;
  padding: 5px 10px;
  font-weight: bold;
  font-size: 14px;
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.2);
}

.box-body {
  padding: 15px;
  font-size: 13px;
  line-height: 1.6;
  text-align: justify;
  color: #333;
}

.reading-box .box-body, .contact-box .box-body {
  padding: 5px 15px;
}

.reading-box p, .contact-box p {
  margin: 5px 0;
}

.contact-box a {
  color: #d95300;
  text-decoration: underline;
}

.entry {
  border: 1px solid #d95300;
  background: #fff;
  margin-bottom: 20px;
}

.entry-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  background: linear-gradient(180deg, #ffffff 0%, #ffecd9 100%);
  padding: 5px 15px;
  border-bottom: 1px solid #d95300;
}

.entry-meta {
  font-size: 11px;
  color: #d95300;
}

.entry-title {
  font-size: 16px;
  margin: 0;
  font-weight: bold;
  color: #d95300;
}

.entry-body {
  padding: 10px 15px;
  line-height: 1.5;
  color: #000;
  font-size: 14px;
  text-align: justify;
}

.entry-body p {
  margin: 0 0 8px 0;
}

.entry-body p:last-child {
  margin-bottom: 0;
}

#footer {
  border-top: 1px solid #d95300;
  padding: 10px 20px;
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#footer a {
  color: #d95300;
  text-decoration: none;
  font-weight: bold;
}

.debian-red {
  color: #ff0055 !important;
}

#scrobble-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 15px;
}

#scrobble-text {
  flex: 1;
}

#scrobble-text p {
  margin: 0;
}

#scrobble-art {
  width: 64px;
  height: 64px;
  border: 1px solid #d95300;
  box-shadow: 2px 2px 0px rgba(217, 83, 0, 0.2);
}

#gb-submit {
  background: linear-gradient(180deg, #ff8800 0%, #d95300 100%) !important;
  color: white !important;
  border: 1px solid #a64000 !important;
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.2);
}

#gb-submit:hover {
  background: linear-gradient(180deg, #d95300 0%, #a64000 100%) !important;
}

/* --- Retro Hit Counter --- */
#counter-box {
  margin-top: 20px;
  border: 1px dashed #d95300;
  padding: 10px;
  background: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.counter-title {
  font-size: 10px;
  font-weight: bold;
  color: #d95300;
  text-transform: uppercase;
  margin-bottom: 5px;
  letter-spacing: 1px;
}

#hit-count {
  /* Using classic 2000s web fonts for a softer, cuter look */
  font-family: "Comic Sans MS", "MS PGothic", cursive;
  background: #2e1500; /* Warm dark chocolate instead of harsh black */
  color: #ffaa55; /* Soft peachy orange */
  font-size: 18px;
  font-weight: bold;
  padding: 4px 10px;
  border: 2px solid #d95300;
  border-radius: 8px; /* Slightly rounded corners */
  letter-spacing: 3px;
  display: inline-block;
  box-shadow: 2px 2px 0px rgba(217, 83, 0, 0.2);
}