:root {
  --green: #00ff9f;
  --green-dim: rgba(0, 255, 159, 0.35);
  --green-faint: rgba(0, 255, 159, 0.08);
  --bg: #000805;
  --text: #d8ffe9;
  --muted: #6affbd;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 20%, rgba(0, 255, 159, 0.08), transparent 35%),
    linear-gradient(180deg, #000805 0%, #000000 100%);
  color: var(--text);
  font-family: "Courier New", monospace;
  min-height: 100vh;
  overflow-x: hidden;
}

/* subtle scanlines */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 255, 159, 0.035),
    rgba(0, 255, 159, 0.035) 1px,
    transparent 1px,
    transparent 4px
  );
  opacity: 0.35;
  z-index: 999;
}

a {
  color: var(--green);
  text-decoration: none;
}

.nav {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--green-dim);
}

.logo {
  color: var(--green);
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  font-weight: bold;
}

.nav nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.nav a {
  color: rgba(216, 255, 233, 0.65);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.nav a:hover {
  color: var(--green);
}

.page {
  width: min(900px, calc(100% - 32px));
  margin: 70px auto;
}

.warning {
  color: var(--green);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

h1 {
  color: var(--text);
  font-size: clamp(2rem, 6vw, 4.2rem);
  line-height: 1;
  font-weight: normal;
  letter-spacing: -0.04em;
  margin: 0 0 34px;
  text-transform: uppercase;
}

.panel,
.chat-box {
  border: 1px solid var(--green-dim);
  background: rgba(0, 255, 159, 0.025);
  padding: 22px;
  margin: 18px 0;
  box-shadow: 0 0 40px rgba(0, 255, 159, 0.04);
}

.panel p {
  margin: 10px 0;
  color: rgba(216, 255, 233, 0.82);
}

.chat-box {
  min-height: 300px;
  max-height: 440px;
  overflow-y: auto;
}

.chat-box span {
  color: var(--green);
  font-weight: bold;
}

.chat-input-row {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

input {
  flex: 1;
  background: #000;
  color: var(--green);
  border: 1px solid var(--green-dim);
  padding: 13px;
  font-family: "Courier New", monospace;
  outline: none;
}

input:focus {
  border-color: var(--green);
}

button,
.btn {
  background: #000;
  color: var(--green);
  border: 1px solid var(--green-dim);
  padding: 13px 18px;
  font-family: "Courier New", monospace;
  cursor: pointer;
  display: inline-block;
}

button:hover,
.btn:hover {
  background: var(--green);
  color: #000;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

h3 {
  color: var(--green);
  font-weight: normal;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  margin-top: 0;
}

@media (max-width: 700px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .page {
    margin: 40px auto;
  }

  .chat-input-row {
    flex-direction: column;
  }
}

.void-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.void-overlay video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  transform: translate(-50%, -50%);
  object-fit: cover; /* THIS is key */
}

.hidden {
  display: none;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) contrast(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay h1 {
  color: #00ff9f; /* subtle green */
  font-size: 2rem;
  letter-spacing: 0.2em;
  font-family: monospace;
}

/* =========================
   MOBILE FIXES
========================= */
@media (max-width: 600px) {

  /* HERO IMAGE */
  .hero img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    filter: brightness(0.7);
  }

  /* TERMINAL TEXT AREA */
  .terminal {
    padding: 20px;
    justify-content: flex-end;
    background: rgba(0, 0, 0, 0.75);
  }

  .line {
    font-size: 12px;
    margin: 4px 0;
  }

  .title {
    font-size: 20px;
  }

  /* LA VERDAD TEXT */
  .hero-overlay h1 {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 28px;
  }

  /* BUTTON */
  .btn {
    font-size: 12px;
    padding: 10px 14px;
  }

  /* FOOTER SIGNATURE */
  .site-signature {
    font-size: 8px;
    bottom: 8px;
    right: 10px;
    opacity: 0.5;
  }

}