body {
  font-family: 'Courier New', Courier, monospace;
  background-color: transparent;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  height: 100vh;
  color: #00000000;
  transition: background-color 0.5s ease;
}

.container {
  perspective: 1000px;
  z-index: 96;
  background: transparent;
  position: relative;
  transition: filter 0.5s ease;
}

.card {
  width: 400px;
  height: 560px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.69s ease-out;
  cursor: none;
  transform-origin: initial;
  background: transparent;
}

.card-face {
  position: absolute;
  width: 100%;
  height: 100%;
  background: transparent;
  backface-visibility: hidden;
}

.card-front {
  background: transparent;
}

.card-back {
  transform: rotateY(180deg);
  background: transparent;
}

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

.matrix-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 97;
  pointer-events: none;
  opacity: 0.0;
}

canvas {
  position: absolute;
  top: 0;
  left: 0;
}

.toggle-bg-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 30px;
  background: transparent;
  color: #000000;
  opacity: 0.5;
  font-family: 'Courier New', Courier, monospace;
  font-size: 2.4em;
  border: none;
  cursor: none;
  z-index: 98;
  transition: all 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.toggle-bg-button:hover {
  background: rgba(0, 0, 0, 0.01);
}


.container.with-shadow {
  filter: drop-shadow(20px 5px 10px rgba(0, 0, 0, 0.3)) 
          drop-shadow(5px 5px 4px rgba(0, 0, 0, 0.4));
}

.overlay-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.469);
  pointer-events: visiblePainted;
  z-index: 97;
  mix-blend-mode: overlay;
  transition: opacity 0.3s ease;
}

.keyboard-hint {
  position: fixed;
  bottom: 20px;
  left: 20px;
  color: #000000;
  font-family: 'Courier New', Courier, monospace;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 98;
}

.docs-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 99;
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  overflow-y: auto;
  color: #00ff44;
}

.docs-modal.show {
  display: block;
  opacity: 1;
}

.docs-content {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  font-family: 'Courier New', Courier, monospace;
  line-height: 1.6;
}

.docs-content h1 {
  font-size: 2.5em;
  margin-bottom: 0.5em;
  color: #00ff44;
}

.docs-content h2 {
  font-size: 2em;
  margin-bottom: 0.5em;
  color: #00ff44;
}

.docs-content h3 {
  font-size: 1.5em;
  margin: 1.5em 0 0.5em;
  color: #00ff44;
}

.docs-content p {
  margin-bottom: 1em;
  color: #00ff44;
}

.docs-content em {
  color: #00ff44;
  font-style: normal;
  font-weight: bold;
}

.close-button {
  position: fixed;
  top: 20px;
  right: 20px;
  background: transparent;
  border: 1px solid #00ff44;
  color: #00ff44;
  padding: 10px 20px;
  cursor: pointer;
  font-family: 'Courier New', Courier, monospace;
}

.close-button:hover {
  background: rgba(0, 255, 68, 0.2);
} 