@font-face {
  font-family: 'pixeloperator';
  src: url('fonts/pixeloperator.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* base */
html,
body {
  background: url('dark-stars-tile.gif') repeat;
  background-color: #000;
  color: #00ffff;
  font-family: 'pixeloperator', monospace;
  font-size: 20px;
  margin: 0;
  padding: 0;
  text-transform: lowercase;
  line-height: 1.6;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
}

/* navbar */
nav.navbar {
  position: fixed;
  top: 100px;
  left: 0;
  width: 180px;
  height: calc(100% - 100px);
  background-color: #000;
  display: flex;
  flex-direction: column;
  padding: 1em;
  box-sizing: border-box;
  z-index: 50;
}

nav.navbar a {
  display: inline-block;
  padding: 0.5em 1em;
  margin: 0.3em 0;
  font-size: 1em;
  text-decoration: none;
  text-align: center;
  border-radius: 4px;
  border: 2px solid;
  transition: background .12s ease, color .12s ease, transform .12s ease;
}

nav.navbar a.comms-button {
  color: #00ffff;
  border-color: #00ffff;
}

nav.navbar a.comms-button:hover {
  background: #00ffff;
  color: #000;
}

nav.navbar a.order-link {
  color: #ff66cc;
  border-color: #ff66cc;
}

nav.navbar a.order-link:hover {
  background: #ff66cc;
  color: #000;
}

/* links button orange */
nav.navbar a[href*="links"] {
  color: #ff884d;
  border-color: #ff884d;
}

nav.navbar a[href*="links"]:hover {
  background: #ff884d;
  color: #000;
}

/* main container */
.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding-left: 220px;
  background: rgba(0, 0, 0, 0.85);
  border: 2px solid #00ffff;
  padding: 1em;
  box-sizing: border-box;
  min-height: 100vh;
}

h1,
h2 {
  text-align: center;
  margin: .5em 0;
  text-shadow: 2px 2px #000;
}

h1 {
  font-size: 2.8em;
  color: #00ffff;
}

h2 {
  font-size: 2em;
  color: #ff66cc;
}

/* banner */
.banner {
  background: #000;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  padding: 0.5em 0;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  position: relative;
  height: 2.5em;
  line-height: 2.5em;
}

.banner .scroll-text {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 25s linear infinite;
}

.banner .highlight {
  color: #ff66cc;
  font-weight: bold;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* link cards */
.hub {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.entry {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: .6rem 1rem;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.12));
  border: 1px solid rgba(0, 255, 255, 0.06);
  margin-bottom: 1rem;
}

.pfp {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f0f1a, #001a1a);
  border: 2px solid #ff66cc;
  color: #ff66cc;
  font-family: 'pixeloperator', monospace;
  font-weight: 900;
  font-size: 1.4rem;
  border-radius: 6px;
  box-sizing: border-box;
}

/* meta text */
.meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .08rem;
  min-width: 180px;
  margin: 0;
  padding: 0;
}

.platform-name {
  color: #ff66cc;
  font-weight: 900;
  font-size: 1.05rem;
  margin: 0;
}

.platform-handle {
  color: #00ffff;
  font-size: .92rem;
  opacity: .95;
  margin: 0;
  line-height: 1.05;
}

/* button row */
.link-row {
  flex: 0 0 320px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0;
  padding: 0;
}

/* desktop button */
.link-button {
  display: inline-block;
  width: 100%;
  padding: .7rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  font-family: 'pixeloperator', monospace;
  font-size: 1rem;
  background: linear-gradient(180deg, #fa6800, #ff884d);
  color: #000;
  border: 3px solid #ff884d;
  text-align: center;
  line-height: 1.1;
  box-sizing: border-box;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.link-button:hover,
.link-button:focus {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.5);
}

/* gallery */
.image-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 10px 0;
}

.thumb {
  flex: 1 1 200px;
  max-width: 220px;
  height: 200px;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid #222;
  background: #000;
}

.thumb img,
.image-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 6px;
  background: #000;
  transition: transform 0.2s ease;
}

.image-row img:hover,
.thumb:hover img {
  transform: scale(1.05);
}

/* lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.95);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.lightbox:target,
.lightbox.active {
  display: flex;
}

.lightbox-inner {
  max-width: 95%;
  max-height: 95%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

#lightbox-caption {
  color: #fff;
  margin-top: 8px;
  font-size: 0.9rem;
  text-align: center;
}

.lightbox .close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 28px;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  padding: 6px 10px;
  cursor: pointer;
  text-decoration: none;
}

/* footer */
footer {
  background: #000;
  text-align: center;
  font-size: 1em;
  color: #00ffff;
  margin-top: 1.5em;
  padding: 1.25em 0 2em;
}

/* responsive */
@media (max-width:768px) {

  html,
  body {
    font-size: 18px;
  }

  h1 {
    font-size: 2.2em;
  }

  h2 {
    font-size: 1.6em;
  }

  .container {
    width: 95%;
    padding: 0.8em;
    margin-left: 0;
  }

  nav.navbar {
    position: static;
    width: 100%;
    height: auto;
    flex-direction: row;
    justify-content: space-around;
    padding: 0.5em;
  }

  nav.navbar a {
    font-size: 1em;
    margin: 0;
  }
}

/* mobile tweaks */
@media (max-width:640px) {
  .entry {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .35rem;
    padding: .45rem .6rem;
  }

  .pfp {
    width: 80px;
    height: 80px;
    font-size: 1.6rem;
  }

  .meta {
    align-items: center;
    min-width: auto;
    margin-bottom: 0;
  }

  .platform-name {
    font-size: 1rem;
    margin: 0;
  }

  .platform-handle {
    font-size: .88rem;
    margin: 0;
    line-height: 1.05;
  }

  .link-row {
    width: 100%;
    max-width: 320px;
    margin: .08rem auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 320px;
    padding: 0.22rem 0.7rem;
    font-size: 0.92rem;
    line-height: 1;
    border-radius: 6px;
    min-height: 34px;
    box-sizing: border-box;
  }
}

nav.navbar a.legal-jump {
  color: #ff66cc !important;
  border-color: #ff66cc !important;
}

nav.navbar a.legal-jump:hover {
  background-color: #ff66cc !important;
  color: #000 !important;
}
