@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=VT323&display=swap');

html {
  /* This is a more intuitive way to deal with the box model. It can be quite confusing when this is not set. */
  box-sizing: border-box;
  /* The default line-height is way too short for comfortable reading and many people forget to rest it. */
  line-height: 1.4;
  /* This is a new feature of CSS (baseline 2024) that reduces widows and orphans in text wrapping. There's not much of a downside so just enable it at least by default. */
  text-wrap: pretty;
  /* This let's you transition 1height: auto` which has been a dream for web developers for the past two decades. It's currently (2025) only working in Chromium-based browsers */
  interpolate-size: allow-keywords;
}

/* This is maybe opinionated but generally horizontal scrolling is accidental and a very bad UX. */
html, body {
  overflow-x: clip;
}

/* This tones down the line-height rule we made above when applied to headings where it's not necessary. */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.1;
}

/* Have all elements inherit the above box-sizing. Setting the property like this means that you can have a change cascade to its children. */
*, *::after, *::before {
  box-sizing: inherit;
}

/* Image sizing helper - ensures proper aspect ratios for uploaded images */
img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
}

/* Additional styling for research page */

.banner {
  background-color: #ff0000;
  overflow: hidden;
  position: relative;
  height: 40px;
  display: flex;
  align-items: center;
}

.ticker-container {
  display: inline-flex;
  white-space: nowrap;
  animation: scroll 60s linear infinite;
  position: absolute;
}

.ticker {
  font-family: 'VT323', monospace;
  color: white;
  font-size: 24px;
  line-height: 40px;
  image-rendering: pixelated;
  -webkit-font-smoothing: none;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.banner-image {
  height: 30px;
  width: 30px;
  z-index: 2;
  position: absolute;
}

.left-image {
  left: 12px;
  top: 6px;
}

.right-image {
  right: 12px;
  top: 6px;
}

:root {
  --terminal-red: #ff0000;
  --terminal-black: #000000;
  --terminal-font: 'Courier New', monospace;
}

body {
  background-color: white;
  color: var(--terminal-black);
  font-family: var(--terminal-font);
  line-height: 1.6;
  padding: 10px;
  margin: 0;
  width: 100%;
}

header {
  border-bottom: 1px solid var(--terminal-red);
  padding-bottom: 15px;
  margin-bottom: 25px;
}

h1 {
  font-size: 24px;
  color: var(--terminal-red);
  margin-bottom: 10px;
}

ul {
  list-style-type: none;
}

li {
  margin-bottom: 12px;
}

li::before {
  content: "> ";
  color: var(--terminal-red);
}

a {
  color: var(--terminal-black);
  text-decoration: none;
  border-bottom: 1px dotted var(--terminal-red);
  padding-bottom: 2px;
  transition: color 0.2s;
  font-family: var(--terminal-font);
  font-weight: bold;
}

a:hover {
  color: var(--terminal-red);
}

footer {
  margin-top: 30px;
  border-top: 1px solid var(--terminal-red);
  padding-top: 10px;
  font-size: 14px;
  color: var(--terminal-red);
}

.blink {
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* Additional styling for homepage */
.console-button-container {
  height: 40px;
  margin: 10px 0;
}

.console-button {
  background-color: black;
  color: white;
  font-family: monospace;
  padding: 10px 20px;
  border: none;
  box-shadow: 4px 4px 0px #333;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: bold;
  position: relative;
  top: 0;
  left: 0;
  transition: all 0.1s;
  text-decoration: none;
  display: inline-block;
}

.console-button:hover {
  background-color: #1a1a1a;
}

.console-button:active {
  box-shadow: 0px 0px 0px #333;
  top: 4px;
  left: 4px;
}

.modal-shell {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.modal-shell video {
  max-width: min(90vw, 1280px);
  max-height: min(85vh, 720px);
  border: 4px solid #ff0000;
  box-shadow: 0 12px 60px rgba(0, 0, 0, 0.6);
  background-color: black;
}

.modal-close {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  color: white;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: #ff0000;
}

.container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.offset-left-flex {
  margin-left: 2%;
}

@media screen and (min-width: 768px) {
  .centered-image {
    max-width: 80%;
  }
}

.centered-image {
  display: block;
  margin: 30px auto 10px;
  width: 50%;
  height: auto;
  justify-self: center;
}

.retro-panel {
  background-color: #f5f5f5;
  border: 2px solid #ED1F24;
  box-shadow: 0 0 10px rgba(204, 0, 0, 0.3);
  margin: 20px 20px 20px 20px;
  box-sizing: border-box;
  max-width: 80%;
}

.panel-header {
  background-color: #ED1F24;
  color: #ffffff;
  padding: 10px 15px;
  font-family: 'Press+Start+2P', monospace;
  font-size: 18px;
  display: flex;
  align-items: center;
  border-bottom: 2px solid #ED1F24;
  box-sizing: border-box;
}

.panel-body {
  padding: 10px 20px 20px;
  display: flex;
  background: linear-gradient(to bottom, #ffffff 0%, #f0f0f0 100%);
  font-family: 'Press+Start+2P', monospace;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.panel-content {
  flex: 1;
}

.panel-text {
  color: #333333;
  line-height: 1.7;
  font-size: 16px;
}

.panel-text p {
  margin-top: 0;
  margin-bottom: 15px;
}

.panel-status {
  margin-top: 20px;
  padding-top: 10px;
  border-top: 1px dotted #ED1F24;
  color: #ED1F24;
  font-size: 14px;
}

@media (max-width: 600px) {
  .panel-body {
    padding: 10px;
  }

  .panel-image {
    margin: 5px 5px 1px;
    align-self: center;
  }

  .ticker {
    font-size: 10px;
  }

  .banner {
    height: 40px;
  }
}

@media (max-width: 768px) {
  .retro-panel {
    width: 80%;
    margin: 10px;
    min-width: 100%;
  }

  .retro-panel-g {
    min-width: 100%;
    margin: 10px;
  }

  .panel-header {
    font-size: 20px;
    padding: 8px 12px;
  }

  .panel-body {
    padding: 15px;
  }

  .panel-image {
  }

  .panel-title {
    font-size: 20px;
  }

  .panel-text {
    font-size: 14px;
  }
}

.prompt {
  color: #f2ff00;
  margin-right: 8px;
  font-size: 18;
  font-weight: bold;
}

.list-item {
  margin: 5px 0;
  font-size: 16px;
  font-family: 'Press+Start+2P', monospace;
  text-transform: none;
}

.list-item::before {
  content: "► ";
  color: #000;
}

.footer {
  text-align: right;
  margin-top: 15px;
  font-size: 14px;
}

.panel-title {
  color: #ED1F24;
  font-family: 'Press+Start+2P', monospace;
  font-size: 22px;
  margin-top: 0;
  margin-bottom: 15px;
  text-shadow: 0 0 1px rgba(204, 0, 0, 0.3);
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wrapper {
  margin: 0;
  display: flex;
  justify-content: flex-start;
  padding-top: 10px;
  padding: 10px;
  max-width: 1000px;
}

.wrapper-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.p-font-2 {
  font-size: 20px;
  font-family: 'Press+Start+2P', monospace;
  text-transform: none;
  font-weight: bolder;
}

.illegal {
  font-family: Impact, sans-serif;
  color: #ED1F24;
}

.tpteam-container {
  --tpteam-red: #ff0000;
  --tpteam-black: #000000;
  --tpteam-font: 'Press+Start+2P', monospace;
  background-color: white;
  color: var(--tpteam-black);
  font-family: var(--tpteam-font);
  line-height: 1.6;
  padding: 20px;
  max-width: 1100px;
  margin: 0 auto;
  font-size: 14px;
  font-weight: 450;
}

.tpteam-list {
  list-style-type: none;
}

.tpteam-list-item {
  margin-bottom: 12px;
}

.tpteam-list-item::before {
  content: "> ";
  color: var(--tpteam-red);
}

/* Arcade Components - Homepage */
.components-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.connector {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #e53935;
  font-size: 24px;
  font-weight: bold;
  margin: 0 10px;
}

.arcade-console {
  width: 500px;
  background-color: white;
  border: 1px solid #e53935;
  font-size: 12px;
  font-weight: 550;
  padding: 0;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.title {
  text-align: left;
  color: white;
  font-size: 18px;
  margin: 0;
  padding: 10px;
  background-color: #ED1F24;
  font-weight: bold;
  border-bottom: 2px solid #000;
  font-family: 'Press+Start+2P', monospace;
  font-size: 22px;
  text-shadow: 0 0 1px rgba(204, 0, 0, 0.3);
}

.title::before {
  content: "> ";
}

.game-window {
  background-color: #ffeeee;
  height: 90px;
  position: relative;
  border-bottom: 1px solid #e53935;
  overflow: hidden;
  margin: 10px;
}

.depth-bar {
  position: absolute;
  bottom: 0;
  background-color: #ffeeee;
  border: 1px solid #e53935;
  width: 25px;
  transition: height 0.5s;
}

.ball {
  position: absolute;
  width: 15px;
  height: 15px;
  background-image: url('assets/250.webp');
  border-radius: 50%;
  animation: fall linear forwards;
  background-size: cover;
  object-fit: cover;
}

@keyframes fall {
  to {
    transform: translateY(90px);
  }
}

.sankey-window {
  background-color: #ffeeee;
  height: 90px;
  position: relative;
  border-bottom: 1px solid #e53935;
  overflow: hidden;
  margin: 10px;
}

.sankey-start {
  position: absolute;
  left: 10px;
  top: 30px;
  height: 30px;
  width: 30px;
  background-color: #ffeeee;
  border: 1px solid #e53935;
}

.sankey-end {
  position: absolute;
  right: 10px;
  width: 30px;
  background-color: #ffeeee;
  border: 1px solid #e53935;
}

.sankey-path {
  position: absolute;
  height: 1px;
  background-color: transparent;
  border-top: 1px solid #e53935;
  transform-origin: left center;
}

.sankey-ball {
  position: absolute;
  width: 15px;
  height: 15px;
  background-image: url('assets/250.webp');
  border-radius: 50%;
  top: 37px;
  left: 40px;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
  background-size: cover;
  object-fit: cover;
}

.info-section {
  padding: 0px;
  margin: 0;
}

.info-section p {
  color: #333;
  font-size: 12px;
  line-height: 1.4;
  margin: 10px 0;
  font-family: 'Press+Start+2P', monospace;
}

.btn-learn-more {
  background-color: #e53935;
  color: white;
  border: none;
  border-bottom: 1px solid #000;
  padding: 6px 12px;
  font-family: monospace;
  font-size: 14px;
  cursor: pointer;
  display: block;
  margin: 10px auto;
  text-transform: uppercase;
}

.btn-learn-more:hover {
  background-color: #c62828;
}

.console-footer {
  text-align: left;
  margin: 0;
  font-size: 12px;
  color: #e53935;
  border-top: 1px dotted #e53935;
  padding: 8px 10px;
}

.console-program {
  display: inline-block;
  color: #e53935;
  font-family: monospace;
}

.console-program::after {
  content: "_";
  animation: blink 1s infinite;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 80%;
  max-height: 80%;
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 1200px) {
  .components-container {
    flex-direction: column;
  }

  .connector {
    transform: rotate(90deg);
    margin: 10px 0;
  }

  .arcade-console {
    width: 95%;
    max-width: 400px;
  }
}

/* Additional styling for get involved page */

.scroll-container {
  flex: 1;
  overflow: hidden;
  margin: 0 40px;
  position: relative;
}

/* Additional styling for wtf page */
@media  screen and (min-width:768px) {
  .centered-image2  {
    max-width: 80%;
  }
}

.half-line {
  width: 66%;
}

.terminal-wrapper {
  position: relative;
  margin: 30px;
}

.terminal-callout {
  font-family: "Franklin", Franklin, monospace;
  background-color: #000000;
  border: 2px solid #888888;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.terminal-inner {
  border: 1px solid #888888;
  background-color: #000000;
  box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.terminal-title {
  text-align: center;
  border-bottom: 1px solid #888888;
  background-color: rgb(255, 254, 254);
  padding: 8px;
}

/* Content area */
.terminal-content {
  color: #f4f0f0;
  line-height: 1.5;
  padding: 15px;
}

/* Header variants */
.terminal-header {
  background-color: #f5f056;
  text-align: center;
  color: rgb(0, 0, 0);
  padding: 8px 16px;
  margin: 10px;
  line-height: 1.4;
}

.spin {
  animation: spin 2s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.image-wrapper {
  flex: 1;
  max-width: 400px;
}

.image-wrapper2 {
  flex: 1;
  max-width: 800px;
}

.image-title {
  text-align: center;
  font-family: monospace;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #333;
}

.image-title2 {
  text-align: center;
  font-family: monospace;
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #333;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.arrow {
  width: 40px;
  height: 60px;
  flex-shrink: 0;
}

.img2 {
  height: 25%;
  width: 25%;
}

.img3 {
  height: 70%;
  width: 70%;
  align-content: center;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    gap: 1rem;
    margin: 10px;
  }

  .arrow {
    transform: rotate(90deg);
    margin: 1rem 0;
  }
}

.heading {
  font-family: 'Press+Start+2P', monospace;
  font-size: 24px;
  line-height: 1.4;
}

.heading-2 {
  font-family: 'Press+Start+2P', monospace;
  font-size: 24px;
  line-height: 1;
}

.red {
  color: #ff0000;
}

.subscript {
  font-size: 16px;
  vertical-align: sub;
  color: #ED1F24;
}

.console {
  background-color: #1a1a1a;
  border: 3px solid #3a3a3a;
  box-shadow: 0 0 0 4px #2a2a2a;
  padding: 20px;
  font-family: 'Consolas', monospace;
  color: #f8fbf8;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.4;
  max-width: 100%;
  width: 100%;
}

@media (min-width: 768px) {
  .console {
    max-width: 50%;
  }
}

.mission-container {
  background-color: #1f0a0a;
  border: 2px solid #ff3b3b;
  width: fit-content;
  padding: 20px;
  font-family: 'Courier New', monospace;
  color: #fbea09;
  min-width: 100%;
}

.mission-header {
  background-color: #ff3b3b;
  color: black;
  padding: 2px 8px;
  width: fit-content;
  margin-bottom: 15px;
  font-size: 22px;
  text-transform: none;
  font-family: 'Press+Start+2P', monospace;
  min-width: 100%;
}

.mission-title {
  color: #fbea09;
  font-size: 18px;
  margin-bottom: 14px;
  text-transform: none;
  font-family: 'Press+Start+2P', monospace;
}

.list-item::before {
  content: "► ";
  color: #000;
}

.p-font {
  font-size: 18px;
  font-family: 'Press+Start+2P', sans-serif;
  text-transform: none;
}

.basic-terminal {
  font-family: 'Press+Start+2P', monospace;
  padding: 2px 1px;
  border-radius: 5px;
}

.basic-terminal .alert {
  margin-bottom: 15px;
  padding: 10px;
  border-left: 4px solid;
}

.basic-terminal .alert.error {
  border-color: #ff5f5f;
  background-color: rgba(255, 95, 95, 0.1);
}

.basic-terminal .alert.warning {
  border-color: #ffb347;
  background-color: rgba(255, 179, 71, 0.1);
}

.basic-terminal .alert.info {
  border-color: #5cb3ff;
  background-color: rgba(92, 179, 255, 0.1);
}

.basic-terminal .alert.good {
  border-color: #66CDAA;
  background-color: #FFFEF5;
}

.basic-terminal .symbol {
  display: inline-block;
  margin-right: 10px;
  font-weight: bold;
}

.basic-terminal .error .symbol {
  color: #ff5f5f;
}

.basic-terminal .warning .symbol {
  color: #ffb347;
}

.basic-terminal .info .symbol {
  color: #5cb3ff;
}

.terminal-container {
  background-color: #000;
  position: relative;
}

.alert-o {
  margin-bottom: 0px;
  padding: 5px 15px;
  border-left: 4px solid #ff5500;
  background-color: rgba(255, 85, 0, 0.1);
  position: relative;
  font-family: 'Press+Start+2P', monospace;
  text-shadow: 0 0 2px rgba(255, 85, 0, 0.7);
  border-top: 2px solid #ff5500;
}

.alert::after-o {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(255, 255, 255, 0) 50%,
      rgba(255, 255, 255, 0.05) 50%);
  background-size: 100% 4px;
  z-index: 1;
  pointer-events: none;
}

.breaking-prefix {
  color: #ff5500;
  font-weight: bold;
  margin-right: 10px;
  position: relative;
  display: inline-block;
}

.breaking-message {
  color: #ffaa88;
  position: relative;
  display: inline-block;
}

.alert {
  margin-bottom: 25px;
  padding: 5px 15px;
  border-left: 4px solid #ED1F24;
  background-color: rgba(255, 0, 0, 0.1);
  position: relative;
  font-family: 'Press+Start+2P', monospace;
  border-top: 2px solid #ED1F24;
}

.alert::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(255, 255, 255, 0) 50%,
      rgba(255, 255, 255, 0.05) 50%);
  background-size: 100% 4px;
  z-index: 1;
  pointer-events: none;
}

.error-prefix {
  color: #ED1F24;
  font-weight: bold;
  margin-right: 10px;
  position: relative;
  display: inline-block;
  text-shadow: 0 0 4px rgba(255, 0, 0, 0.9), -2px 0 1px rgba(0, 255, 255, 0.5), 2px 0 1px rgba(255, 0, 255, 0.5);
}

.error-message {
  color: #ffaaaa;
  position: relative;
  display: inline-block;
  text-shadow: 0 0 4px rgba(255, 0, 0, 0.7), -1px 0 1px rgba(0, 255, 255, 0.4), 1px 0 1px rgba(255, 0, 255, 0.4);
}

.retro-panel-g {
  background-color: #f5f5f5;
  max-width: 90%;
  border: 2px solid #66CDAA;
  box-shadow: 0 0 10px rgba(38, 78, 68, 0.25);
  margin: 0px 20px 20px 20px;
  box-sizing: border-box;
  justify-self: center;
  place-self: center;
  align-self: center;
}

.panel-header-g {
  background-color: #66CDAA;
  color: #000;
  padding: 10px 15px 10px;
  font-family: 'Press+Start+2P', monospace;
  font-size: 18px;
  display: flex;
  align-items: center;
  border-bottom: 2px solid #66CDAA;
  box-sizing: border-box;
}

.panel-header::before {
  content: ">";
  margin-right: 10px;
}

.panel-image {
  flex: 0 0 150px;
  margin-right: 20px;
  border: 0px solid #ED1F24;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  height: 150px;
  position: relative;

  img {
    width: 100%;
    height: auto;
    display: block;
  }
}

.panel-image-g {
  margin-bottom: 20px;
  margin-top: 20px;
  border: 1px solid #66CDAA;
  display: inline-block;
  position: relative;
  background-color: transparent;
  max-width: 100%;

  img {
    width: 100%;
    height: auto;
    display: block;
  }
}

.panel-title-g {
  color: #66CDAA;
  font-family: 'Press+Start+2P', monospace;
  font-size: 22px;
  margin-top: 0;
  margin-bottom: 15px;
  text-shadow: 0 0 1px rgba(38, 78, 68, 0.25);
}

.panel-status-top {
  margin-bottom: 20px;
  padding-top: 10px;
  border-bottom: 1px dotted #ED1F24;
  color: #ED1F24;
  font-size: 14px;
}

.panel-status-g {
  margin-top: 20px;
  padding-top: 10px;
  border-top: 1px dotted #66CDAA;
  color: #66CDAA;
  font-size: 14px;
}

.placeholder-text {
  color: #ED1F24;
  font-family: 'Press+Start+2P', monospace;
  font-size: 16px;
  text-align: center;
}

.card-deck {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  perspective: 1000px;
}

.card {
  width: 242px;
  height: 352px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s;
  margin-bottom: 20px;
  cursor: pointer;
}

.card.flipped {
  transform: rotateY(180deg);
}


.card-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card-front {
  background-color: #ED1F24;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: rotateY(0deg);
}

.card-back {
  background-color: #fffdf9;
  transform: rotateY(180deg);
  padding: 10px;
  display: flex;
  flex-direction: column;
  border: 5px solid #ED1F24;
  border-radius: 8px;
  box-shadow: 0 0 5px #ff2121;
}

.deck-title {
  font-family: 'Press+Start+2P', monospace;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 2px 2px 0px #000;
  text-align: center;
  margin: 15px 0;
  padding: 0 10px;
}

.card-title {
  font-family: 'UnifrakturMaguntia', monospace;
  letter-spacing: 1px;
  color: #911e1e;
  text-shadow: 0 0 5px rgba(83.1%, 21.6%, 21.6%, 0.5);
  text-align: center;
  font-size: 18px;
  margin-bottom: 10px;
  position: relative;
}

.card-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  /* Full width border */
  height: 2px;
  background: linear-gradient(90deg, #541212, #ff2121, #541212);
  /* Gradient border */
}

.card-li {
  font-size: 12px;
  color: #911e1e;
  flex-grow: 0;
  font-family: 'Press+Start+2P', monospace;
  text-shadow: 1px 1px 2px rgba(100%, 100%, 100%, 0.8);
  margin-bottom: 6px;
  padding-left: 2px;
  text-align: left;
  border-left: 0px solid #000;
}

.card-description {
/*  font-family: 'Press+Start+2P', monospace; */
  
  color: #2c2c2c;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  font-style: normal;
  letter-spacing: 1px;
  line-height: 1.4;
  max-width: 95%;
  margin: 0.2px auto;
  /* text-shadow: 1px 1px 1px rgba(74.1%, 34.9%, 34.9%, 0.8); */
  margin-top: auto;
  margin-bottom: auto;
}

.card-logo {
  width: 50%;
  max-width: 100px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .deck-title {
    font-size: 18px;
  }

  .card-title {
    font-size: 18px;
  }

  .card-description {
    font-size: 10px;
  }
}

.tpteam-header {
  border-bottom: 1px solid var(--tpteam-red);
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.tpteam-title {
  font-size: 18px;
  color: var(--tpteam-red);
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.tpteam-sublist {
  margin-left: 20px;
  margin-top: 10px;
  list-style-type: none;
}

.tpteam-sublist .tpteam-list-item {
  margin-bottom: 10px;
}

.tpteam-sublist .tpteam-list-item::before {
  content: "- ";
  color: var(--tpteam-red);
}

.tpteam-link {
  color: var(--tpteam-black);
  text-decoration: none;
  border-bottom: 1px dotted var(--tpteam-red);
  padding-bottom: 2px;
  transition: color 0.2s;
  font-family: var(--tpteam-font);
  font-weight: bold;
}

.tpteam-footer {
  margin-top: 30px;
  border-top: 1px solid var(--tpteam-red);
  padding-top: 10px;
  font-size: 14px;
  color: var(--tpteam-red);
}

.tpteam-blink {
  animation: tpteam-blink-animation 1s step-end infinite;
}

@keyframes tpteam-blink-animation {
  50% {
    opacity: 0;
  }
}

.card:flipped {
  transform: rotateY(180deg);
}

.card:click {
  transform: rotateY(180deg);
}

/* Terminal Overlay Styles */
#tplus-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 9999;
  font-family: monospace;
  display: flex;
  justify-content: center;
  padding-top: 10vh;
  color: #ff0000;
  overflow: auto;
}

#tplus-terminal {
  width: 100%;
  max-width: 800px;
  font-size: 16px;
}

#tplus-password {
  padding: 20px;
}

#tplus-prompt {
  color: #ffff00;
  margin: 15px 0;
}

#tplus-input-line {
  display: flex;
  align-items: flex-end;
  margin-top: 15px;
}

#tplus-input {
  background: transparent;
  border: none;
  outline: none;
  color: #ff0000;
  font-family: monospace;
  font-size: 20px;
  width: 80%;
  margin-left: 5px;
}

#tplus-cursor {
  width: 10px;
  height: 2px;
  background: #ff0000;
  display: inline-block;
  animation: blink 1s step-end infinite;
}

#tplus-surprise {
  display: none;
  padding: 20px;
}

#tplus-ascii {
  color: #ffff00;
  font-size: 6px;
  line-height: 1;
  white-space: pre;
  text-align: center;
  margin: 20px 0;
}

#tplus-welcome {
  margin: 20px 0;
}

#tplus-continue {
  color: #ffff00;
  margin-top: 20px;
  animation: blink 1s step-end infinite;
  cursor: pointer;
}

.fade-out {
  animation: fade 1s forwards;
}

@keyframes fade {
  to { opacity: 0; visibility: hidden; }
}

/* Index page scoped layout to mirror deployed site */
.index-page {
  width: 100%;
  margin: 0;
  padding: 10px;
}

.index-page .centered-image {
  display: block;
  margin: 30px auto 10px;
  width: 50%;
  max-width: 1000px;
  height: auto;
}

.index-page .retro-panel {
  margin: 20px auto;
  max-width: 1220px;
}

.index-page .panel-body {
  gap: 16px;
}

.index-page .components-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1220px;
  margin: 0 auto;
}

.index-page .arcade-console {
  width: 520px;
}

.index-page .connector {
  margin: 0 24px;
}

/* Center headline lines and rule like live site */
.index-page .wrapper {
  display: flex;
  justify-content: center;
  padding: 0;
}

.index-page .p-font-2 {
  text-align: center;
}

.index-page hr {
  max-width: 1220px;
  margin: 12px auto 24px;
  border: 0;
  border-top: 1px solid #cfcfcf;
}

.index-page .components-container { margin-top: 24px; }

@media (max-width: 1200px) {
  .index-page {
    width: 100%;
    padding: 10px;
  }
  .index-page .components-container {
    flex-direction: column;
    gap: 24px;
  }
  .index-page .arcade-console {
    width: 95%;
    max-width: 600px;
  }
  .index-page .connector {
    transform: rotate(90deg);
    margin: 10px 0;
  }
}

/* Carousel styles */
.carousel-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  overflow: hidden;
  background-color: #ffffff;
  border: 2px solid #ED1F24;
  box-shadow: 0 0 10px rgba(204, 0, 0, 0.3);
}

.carousel-wrapper {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  background-color: #ffffff;
}

.carousel-slide img,
.carousel-slide video {
  max-width: 100%;
  max-height: 600px;
  height: auto;
  object-fit: contain;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5), 0 4px 8px rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #ED1F24;
  color: white;
  border: none;
  padding: 20px 15px;
  font-size: 24px;
  cursor: pointer;
  font-family: 'Press+Start+2P', monospace;
  z-index: 10;
  transition: background-color 0.3s;
}

.carousel-nav:hover {
  background-color: #c62828;
}

.carousel-nav.prev {
  left: 0;
}

.carousel-nav.next {
  right: 0;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  padding: 15px 0;
  gap: 10px;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  background-color: #ffeeee;
  border: 2px solid #ED1F24;
  cursor: pointer;
  transition: background-color 0.3s;
}

.carousel-indicator.active {
  background-color: #ED1F24;
}

@media screen and (min-width:768px) {
  .centered-image2 {
    max-width: 80%;
  }
}
