body {
  font-family: Arial, sans-serif;
  background-color: #ddd;
  display: flex;
  flex-direction: column;
  height: 100vh;
  margin: 0;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #212;
  color: #fff;
  padding: 15px 50px;
}

.logo h1 {
  margin: 0 20px 0 0;
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(to right, #ff0066, #6600ff);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 24px;
}

.alt-header {
  display: flex;
  justify-content: left;
  align-items: center;
  background-color: #151515;
  color: #fff;
  height: 20px;
  padding: 5px;
  z-index: 1100;
}

.alt-header .logo h1 {
  font-size: 18px;
  padding-right: 10px;
}

.nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

nav li {
  margin: 0 10px; 

  line-height: 24px;
}

nav a {
  color: #fff;
  text-decoration: none;
}

nav li a:hover {
  color: #ccc;
}

li a.selected {
  color: #ff0066;
  text-decoration: none;
}

li a.selected:hover {
  color: #cc0033;
}

.icon {
  width: 20px;
  height: 20px;
  margin: 0 10px 0 0;
  vertical-align: middle;
}

div#gameContainer {
  background: transparent !important;
  position: absolute;
}

div#gameContainer canvas {
  position: absolute;
}

div#gameContainer canvas[data-pixel-art="true"] {
  position: absolute;
  image-rendering: optimizeSpeed;
  image-rendering: -webkit-crisp-edges;
  image-rendering: -moz-crisp-edges;
  image-rendering: -o-crisp-edges;
  image-rendering: crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: optimize-contrast;
  image-rendering: pixelated;
  -ms-interpolation-mode: nearest-neighbor;
}

#main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 20px 0;
}

.image-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.box {
  padding: 15px;
  background-color: #f2f2f2;
  flex-basis: 22%;
  margin-bottom: 0px;
  outline: 1px solid rgba(150, 150, 150, 0.2);
}

.box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.discord-content h3,
.box-header h3 {
  margin: 0;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
  color: #333;
  display: inline-block;
}

.play-now {
  font-size: 13px;
  background-color: #007bff;
  color: #fff;
  border-radius: 5px;
  padding: 8px 15px;
  text-decoration: none;
  font-weight: bold;
}
.play-now:hover {
  background-color: #00d885;
  transition: 0.2s;
}
.play-soon {
  font-size: 14px;
  background-color: #ababab;
  color: #fff;
  border-radius: 5px;
  padding: 8px 15px;
  text-decoration: none;
  font-weight: bold;
}
.box img {
  max-width: 100%;
  height: auto;
}
.box a {
  text-decoration: none;
}
.details {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}
.details td {
  font-size: 12px;
  color: #777;
  padding: 5px;
  border: 1px solid #ccc;
}
.segmented-bar {
  height: 10px;
  background-color: #ccd;
  border-radius: 5px;
}
.segmented-bar-fill-25 {
  background-color: #43978d;
  height: 100%;
  border-radius: 5px;
}
.segmented-bar-fill-50 {
  background-color: #f9e07f;
  height: 100%;
  border-radius: 5px;
}
.segmented-bar-fill-75 {
  background-color: #f9ad6a;
  height: 100%;
  border-radius: 5px;
}
.segmented-bar-fill-100 {
  background-color: #d46c4e;
  height: 100%;
  border-radius: 5px;
}
.box p {
  font-size: 14px;
  margin: 10px 0 15px 0;
  line-height: 1.3;
  color: #777;
}

#about-container {
  flex-grow: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#discord-container {
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1000px;
}

.about-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  background-color: #f2f2f2;
  outline: 1px solid rgba(150, 150, 150, 0.2);
  padding: 20px 40px;
}

.discord-content {
  text-align: center;
  max-width: 800px;
  min-height: 128px;
  margin-bottom: 10px;
  background-color: #f2f2f2;
  outline: 1px solid rgba(150, 150, 150, 0.2);
  padding: 15px 20px;
}

.discord-icon {
  float: left;
  margin-right: 30px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
}

.about-content p, 
.discord-content p {
  text-align: left;
  line-height: 1.3;
  color: #333;
}

.about-content h3, 
.about-content h4,
.discord-content h3, 
.discord-content h4 {
  text-align: left;
  padding: 5px 0;
}

.list-grid {
  text-align: left;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 10px;
}

.list-item {
  padding: 10px;
  font-weight: bold;
  color: #ff0066;
}

.bp p {
  margin: 10px 0 15px 0;
  line-height: 1.3;
  color: #333;
}

.bp ul {
  text-align: left;
  list-style: none;
  padding: 0;
}

.bp li {
  padding: 5px 0;
  margin: 0;
  color: #888;
  font-size: 13px; 
}

.bp li:before {
  content: "•";
  padding-right: 5px;
}

.quote {
  position: relative;
  font-style: italic;
}

.quote::before {
  content: '\201C';
  font-size: 1.2em;
  font-weight: bold;
  line-height: 1;
  color: #aaa;
}

.quote::after {
  content: '\201D';
  font-size: 1.2em;
  font-weight: bold;
  line-height: 1;
  color: #aaa;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 20px;
  background-color: #212;
  color: #fff;
  font-size: 13px;
}

.disclaimer {
  display: block;
  width: 85%;
  margin: 0;
}

.gold-flash {
  animation: gold-flash 2.5s linear 5;
}

@keyframes gold-flash {
  0% {
    color: #fff;
  }
  25%, 75% {
    color: palegoldenrod;
  }
  50% {
    color: goldenrod;
  }
  100% {
    color: #fff;
  }
}