/* CSS HEX */
/* prussian-blue: #070f34 */
/* oxford-navy: #0f3363 */
/* royal-blue: #5275ce */
/* neon-ice: #34edf3 */
/* emerald: #45cf6d */
/* electric-rose: #f715ab */
/* deep-lilac: #80529d */

/* =========================
   BASE
========================= */
body {
  margin: 0;
  font-family: "Press Start 2P", monospace;

  background: url("Stars_Background_GIF.gif");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;

  color: #34edf3;
  overflow-x: hidden;
}

header {
  padding: 20px;
  text-align: center;
}

main {
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  gap: 20px;
  padding: 20px;
}

.left,
.middle,
.right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.left,
.right {
  width: 25%;
}

.middle {
  width: 50%;
}

.gallery {
  columns: 250px;
  column-gap: 10px;
}

.pics {
  width: 100%;
  margin-bottom: 10px;
  display: block;
}

/* =========================
   WINDOWS
========================= */
.window {
  border: 2px solid #5275ce;
  background: #0f3363;
  box-shadow: 0 0 12px rgba(52, 237, 243, 0.25);
}

.title {
  background: #5275ce;
  color: #070f34;
  padding: 6px 10px;
  font-weight: bold;
}

.content {
  padding: 10px;
}

/* =========================
   LINKS & BUTTONS
========================= */
a {
  color: #45cf6d;
  text-decoration: none;
}

a:hover {
  color: #f715ab;
  text-decoration: underline;
}

.nav-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.button {
  font-family: "Press Start 2P", monospace;
  font-size: 15px;

  padding: 8px 10px;

  background: #0f3363;
  color: #34edf3;

  border: 2px solid #5275ce;

  box-shadow:
    0 0 8px rgba(52, 237, 243, 0.15);

  cursor: pointer;



  transition: 0.15s ease;
}

.button:hover {
  background: #5275ce;
  color: #070f34;

  box-shadow:
    0 0 12px rgba(52, 237, 243, 0.35);
}

.button:active {
  transform: translateY(1px);

  box-shadow:
    0 0 4px rgba(52, 237, 243, 0.2);
}

/* =========================
   SCROLL FIX
========================= */
.scroll {
  height: auto;
  overflow: visible;
}

/* =========================
   OC TABLE
========================= */
.oc-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.oc-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;

  font-size: 11px;

  background: #070f34;

  border: 1px solid #5275ce;

  table-layout: fixed;

  counter-reset: oc-row;
}

.oc-table tbody tr {
  counter-increment: oc-row;
}

.oc-table td.num-cell::before {
  content: counter(oc-row);

  color: #5275ce;

  font-size: 10px;
}

.oc-table th,
.oc-table td {
  padding: 10px 6px;

  border-bottom: 1px solid #1a3a6b;

  box-sizing: border-box;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.oc-table thead {
  background: #5275ce;
  color: #070f34;
}

.oc-table tr:hover td {
  background: #0f3363;
}

.oc-table td:nth-child(2) {
  color: #f715ab;
  font-weight: bold;
}

/* column widths */
.oc-table th.num-col,
.oc-table td.num-cell {
  width: 8%;
  text-align: center;
}

.oc-table th:nth-child(2),
.oc-table td:nth-child(2) {
  width: 20%;
}

.oc-table th:nth-child(3),
.oc-table td:nth-child(3),
.oc-table th:nth-child(4),
.oc-table td:nth-child(4),
.oc-table th:nth-child(5),
.oc-table td:nth-child(5) {
  width: 24%;
}

/* vertical dividers */
.oc-table th:not(:last-child),
.oc-table td:not(:last-child) {
  border-right: 1px solid #1a3a6b;
}

/* =========================
   STATUS TAGS
========================= */
.oc-type {
  font-size: 9px;

  padding: 2px 6px;

  background: #80529d;
  color: #34edf3;

  border-radius: 2px;
}

.oc-status {
  font-size: 9px;

  padding: 2px 6px;

  border-radius: 2px;
}

.oc-status.active {
  background: #45cf6d;
  color: #070f34;
}

.oc-status.wip {
  background: #f7c515;
  color: #070f34;
}

.oc-status.concept {
  background: #80529d;
  color: #34edf3;
}

/* =========================
   TOTAL COUNTER
========================= */
.oc-total {
  text-align: right;
  font-size: 13px;
  color: #f715ab;
}

.oc-total::before {
  content: "Total: " counter(oc-row) " OCs";
}

/* =========================
   UPDATES LAYOUT
========================= */
.updates-layout {
  display: flex;
  justify-content: center;
  align-items: flex-start;

  padding: 20px;
}

.log-window {
  width: 100%;
  max-width: 1400px;
}

.log-date {
  color: #f715ab;
  font-size: 20px;
  letter-spacing: 1px;
  opacity: 0.9;
}

/* =========================
   GAME LAYOUT
========================= */
.game-layout {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

/* =========================
   SIDE UI
========================= */
.side-ui {
  width: 260px;

  display: flex;
  flex-direction: column;
  flex-shrink: 0;

  gap: 20px;
}

.side-column {
  width: 400px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-shrink: 0;
}

.ui-box {
  border: 2px solid #5275ce;

  background: #070f34;

  padding: 10px;

  box-shadow:
    0 0 10px rgba(52, 237, 243, 0.15);
}

.ui-title {
  color: #f715ab;

  margin-bottom: 15px;

  font-size: 13px;

  border-bottom: 1px solid #5275ce;

  padding-bottom: 8px;
}

#stats-box,
#inventory-box {
  font-size: 11px;

  line-height: 1.8;

  white-space: pre-line;
}

/* =========================
   GAME BOX
========================= */
.game-box {
  flex: 1;

  display: flex;
  flex-direction: column;

  justify-content: space-between;

  min-height: 500px;

  border: 2px solid #5275ce;

  background: #070f34;

  padding: 20px;

  box-sizing: border-box;
}

#game-text {
  line-height: 1.8;
  font-size: 14px;

  white-space: pre-wrap;

  min-height: 300px;
}

/* =========================
   CHOICES
========================= */
.choices {
  display: flex;

  justify-content: center;
  align-items: center;

  gap: 10px;

  margin-top: 20px;

  flex-wrap: wrap;
}

/* =========================
   TASKBAR / FOOTER
========================= */
footer {
  position: fixed;

  bottom: 0;
  width: 100%;

  background: #0f3363;

  border-top: 2px solid #5275ce;

  padding: 6px;

  z-index: 9999;
}

.taskbar {
  display: flex;

  justify-content: space-between;
  align-items: center;

  padding: 0 10px;
}

.start-wrapper {
  position: relative;
}

.start-button {
  font-family: "Press Start 2P", monospace;

  font-size: 20px;

  background: #070f34;
  color: #34edf3;

  border: 2px solid #5275ce;

  padding: 4px 8px;

  cursor: pointer;
}

.start-menu {
  display: none;

  position: absolute;

  bottom: 35px;
  left: 0;

  background: #0f3363;

  border: 2px solid #5275ce;

  padding: 6px;

  min-width: 250px;

  z-index: 10000;
}

.start-menu a {
  display: block;

  color: #34edf3;

  text-decoration: none;

  font-size: 15px;

  padding: 6px;
}

.start-menu a:hover {
  background: #5275ce;
  color: #070f34;
}

.clock {
  font-size: 20px;
  color: #f715ab;
}

