/* === GLOBAL STYLES === */
body {
  background-color: black;
  color: white;
  font-family: 'Perfect DOS VGA 437', monospace;
  text-align: center;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.container {
  position: relative;
  z-index: 1;
  padding-top: 10vh;
}

.logo {
  width: 300px;
  margin-bottom: 20px;
}

h1 {
  font-size: 3em;
  letter-spacing: 0.15em;
}

h2 {
  font-size: 1.5em;
  margin-top: 0.2em;
}

/* === QUADRANT CIRCLES === */
.quadrants {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 5;
}

.circle {
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px #111;
  background: transparent;
  cursor: pointer;
  pointer-events: all;
  box-shadow:
    0 0 10px rgba(255,255,255,0.5),     /* outer glow */
    inset 0 0 8px rgba(255,255,255,0.3); /* inner glow */
  transition: all 0.3s ease;
}

.circle:hover {
  transform: scale(1.1);
  box-shadow:
    0 0 25px rgba(255,255,255,0.9),     /* outer glow stronger */
    inset 0 0 20px rgba(255,255,255,0.4); /* inner glow stronger */
}

.tl { top: 40px; left: 40px; }
.tr { top: 40px; right: 40px; }
.bl { bottom: 40px; left: 40px; }
.br { bottom: 40px; right: 40px; }

/* === OVERLAY === */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,1);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 6;
}

.overlay.active {
  opacity: 1;
}

.overlay.hidden {
  pointer-events: none;
}

/* === GHOST TEXT === */
.ghost-text {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3em;
  color: rgba(255,255,255,0.8);
  text-shadow: 0 0 30px rgba(255,255,255,0.8);
  z-index: 7;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.ghost-text.visible {
  opacity: 1;
}

/* === MODAL BASE === */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0,0,0,1);
  opacity: 0;
  z-index: 10;
  transition: opacity 0.3s ease-in-out;
}

.modal.show {
  opacity: 1;
}

.modal.hidden {
  pointer-events: none;
}

/* === MODAL CONTENT (DESKTOP) === */
.modal-content {
  background-color: #111;
  color: white;
  padding: 3em;
  border-radius: 10px;
  text-align: left;
  width: 90%;
  max-width: 800px;
  max-height: 85%;
  overflow-y: auto;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s ease;
  font-size: 1.2em;
  line-height: 1.8em;
}

.modal.show .modal-content {
  transform: scale(1);
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 2em;
  cursor: pointer;
}

/* === MOBILE FULLSCREEN MODAL === */
@media (max-width: 768px) {
  .modal-content {
    width: 100vw;
    height: 100vh;
    max-width: none;
    max-height: none;
    padding: 4em 2em;
    border-radius: 0;
    font-size: 1.4em;
    line-height: 1.9em;
    box-sizing: border-box;
  }

  .modal-content h2 {
    font-size: 1.8em;
    margin-bottom: 1em;
  }

  .modal-content p,
  .modal-content div {
    font-size: 1.4em;
    line-height: 1.9em;
  }

  .close {
    font-size: 3em;
    top: 15px;
    right: 20px;
  }
}