body {
  background: #111; /* Dark background */
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: #e8d8c9; /* Cream text */
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  grid-template-areas:
    "header header header"
    "sidebar-left main sidebar-right"
    "footer footer footer";
  gap: 15px;
}

/* Header */
header {
  grid-area: header;
  background: #1a1a1a;
  border: 2px solid #4b607f;
  color: #e8d8c9;
  text-align: center;
  padding: 15px;
  border-radius: 12px;
}
header h1 {
  margin: 0;
}

/* Navigation */
nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}
nav a {
  color: #e8d8c9;   /* cream by default */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s ease;
}
nav a:hover {
  color: #f3701e;   /* orange on hover */
}
nav a.active {
  color: #f3701e;   /* active page stays orange */
}

/* Sidebars */
.sidebar-left, .sidebar-right {
  background: #1a1a1a;
  padding: 10px;
  border: 2px solid #4b607f;
  border-radius: 12px;
}

/* Creator block */
.creator img {
  width: 100%;
  border-radius: 12px;
}
.caption {
  text-align: center;
  font-weight: bold;
  color: #f3701e;
}
.online {
  color: #f3701e;
  font-weight: bold;
}

/* Guestbook block in sidebar */
.guestbook {
  background: #1a1a1a;
  padding: 15px;
  border: 2px solid #4b607f;
  border-radius: 12px;
  color: #e8d8c9;
}
.guestbook h3 {
  color: #f3701e;
  margin-top: 0;
}
.guestbook ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.guestbook li {
  margin-bottom: 8px;
  padding: 5px;
  border-bottom: 1px dashed #4b607f;
}

/* Commission mascot */
.commission {
  position: relative;
  text-align: center;
}
.commission img {
  width: 100%;
}
.bubble {
  background: #4b607f;
  color: #e8d8c9;
  border-radius: 50%;
  padding: 10px;
  display: inline-block;
  position: absolute;
  top: 0;
  right: -15px;
  font-weight: bold;
}

/* Main Content */
main {
  grid-area: main;
  background: #1a1a1a;
  padding: 20px;
  border: 2px solid #4b607f;
  border-radius: 12px;
}
.welcome, .updates {
  margin-bottom: 20px;
}
.welcome h2, .updates h2 {
  color: #f3701e;
}
.buttons img {
  height: 30px;
  margin: 5px;
  border: 1px solid #e8d8c9;
  border-radius: 4px;
}

/* Footer */
footer {
  grid-area: footer;
  text-align: center;
  padding: 10px;
  font-size: 14px;
  color: #4b607f;
}
footer a {
  color: #f3701e;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

/* Comics & Gallery */
.comic-list, .gallery {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.comic img, .gallery img {
  width: 150px;
  border-radius: 8px;
  border: 2px solid #4b607f;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.projects-grid a {
  display: block;
  border: 2px solid #4b607f;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.projects-grid a:hover {
  transform: scale(1.05);
  border-color: #f3701e;
}

.projects-grid img {
  width: 100%;
  height: auto;
  display: block;
}

/* Banner */
header .banner {
  width: 100%;
  max-height: 150px;
  object-fit: cover;    /* crop nicely if too tall */
  border-radius: 8px;
  margin-bottom: 10px;
  border: 2px solid #4b607f;
}