html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  background: black;
  font-family: Arial, sans-serif;
  font-weight: 700;
}

* {
  box-sizing: border-box;
}

/* =========================
   APP
========================= */

#app {
  position: fixed;
  inset: 0;
}

/* =========================
   PROJECTS
========================= */

.project {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.project.active {
  opacity: 1;
  pointer-events: auto;
}

/* =========================
   VIDEO
========================= */

video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

/* =========================
   ARROWS (UNCHANGED)
========================= */

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: white;
  cursor: pointer;
  z-index: 30;
}

.left { left: 30px; }
.right { right: 30px; }

/* =========================
   TOP NAME (RESTORED ORIGINAL)
========================= */

.top-name {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10pt; /* ORIGINAL */
  color: white;
  z-index: 1000;
  cursor: pointer;
}

/* =========================
   SHOW "+"
   +30% respecto al original
========================= */

.bottom-show {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13pt; /* 10pt + 30% */
  color: white;
  z-index: 1000;
  cursor: pointer;
  transition: opacity .2s ease;
}

/* =========================
   INFO CONTAINER
========================= */

.info {
  position: absolute;
  inset: 0;
}

/* =========================
   TITLE
========================= */

.title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 10pt;
  color: white;
}

/* =========================
   DESCRIPTION
========================= */

.description {
  position: absolute;
  bottom: 0;
  left: 40px;
  right: 40px;

  display: none;

  grid-template-columns: 1.2fr 1.5fr 1.5fr 3fr 1.2fr;
  gap: 18px;

  font-size: 10pt;
  color: white;
  line-height: 1.2;

  align-items: end;
  align-content: end;

  padding-bottom: 2vh;
}

.info.open .description {
  display: grid;
}

.description .col {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* =========================
   TITLE HIDE ON OPEN
========================= */

.info.open .title {
  opacity: 0;
}

/* =========================
   PLAY BUTTON
========================= */

.play-center {
  display: none;
  text-decoration: none;
  color: white;
}

.info.open .play-center {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
}

/* =========================
   BIO VIDEO
========================= */

.bio-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  z-index: 1;
}

body.bio-mode .bio-video {
  display: block;
}

/* =========================
   HIDE IN BIO MODE
========================= */

body.bio-mode .project,
body.bio-mode .arrow,
body.bio-mode .top-name,
body.bio-mode .bottom-show {
  display: none !important;
}

/* =========================
   BIO OVERLAY
========================= */

.bio-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  font-size: 10pt;
  line-height: 1.5;
  z-index: 9999;
}

.bio-overlay.active {
  display: flex;
}

.bio-overlay a {
  color: white;
  text-decoration: none;
}

.bio-overlay a:hover {
  opacity: 0.6;
}