body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', 'Arial', sans-serif;
  background: #181a1b;
  min-height: 100vh;
  overflow: hidden;
}

#enter-overlay {
  position: fixed;
  z-index: 10;
  inset: 0;
  background: rgba(20, 20, 22, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s;
  cursor: pointer;
}
#enter-overlay span {
  color: #fff;
  font-size: 2.2rem;
  letter-spacing: 1px;
  font-weight: 600;
  text-shadow: 0 0 8px #fff8, 0 2px 8px #0004;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  transition: text-shadow 0.3s, color 0.3s;
  font-family: 'Segoe UI', 'Arial', sans-serif;
}
#enter-overlay span::after {
  content: '';
  display: none;
}
#enter-overlay.hide {
  opacity: 0;
  pointer-events: none;
}

#bg-video {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.5) blur(1px);
  transition: filter 0.5s;
}

#bio-box {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -60%) scale(0.95);
  background: rgba(30, 30, 32, 0.92);
  border-radius: 1.5rem;
  box-shadow: 0 8px 48px 0 #000a;
  padding: 4.5rem 2.5rem 2rem 2.5rem; /* extra top padding for overlapped avatar */
  min-width: 320px;
  max-width: 90vw;
  width: 370px;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s, transform 0.7s;
  z-index: 2;
}
#bio-box.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.pfp {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #23272a;
  position: absolute;
  top: -55px; /* half outside the box */
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 2px 16px 0 #0006;
}
#bio-box h1 {
  color: #fff;
  font-size: 2.1rem;
  margin: 0 0 0.7rem 0;
  letter-spacing: 2px;
  font-weight: 700;
  text-shadow: 0 2px 8px #0006;
}
.desc {
  color: #b0b3b8;
  background: rgba(24,24,28,0.7);
  border-radius: 0.7rem;
  padding: 0.9rem 1.1rem;
  font-size: 1.08rem;
  margin-bottom: 1.5rem;
  text-align: center;
  box-shadow: 0 1px 8px 0 #0003;
}
.socials {
  display: flex;
  gap: 0.9rem;
  margin-top: 0.2rem;
}
.icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2a2e33;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 1px 8px 0 #0003;
  color: #fff;
}
.icon:hover {
  background: #3a4047;
  transform: scale(1.08);
  box-shadow: 0 2px 16px 0 #0006;
}
.icon svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.icon-steam svg {
  width: 18px;
  height: 18px;
}

#embed-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2.2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s;
}
#embed-image-container.show {
  opacity: 1;
  pointer-events: auto;
}
#embed-image {
  max-width: 420px;
  width: 90vw;
  border-radius: 1.1rem;
  box-shadow: 0 4px 32px 0 #0007;
  border: 2px solid #23272a;
  background: #23272a;
  display: block;
}

@media (max-width: 500px) {
  #bio-box {
    min-width: 0;
    width: 95vw;
    padding: 1.2rem 0.5rem 1.2rem 0.5rem;
  }
  .pfp {
    width: 80px;
    height: 80px;
    top: -40px;
  }
  #bio-box h1 {
    font-size: 1.3rem;
  }
  .desc {
    font-size: 0.95rem;
    padding: 0.7rem 0.5rem;
  }
  .icon {
    width: 36px;
    height: 36px;
  }
  .icon svg {
    width: 22px;
    height: 22px;
  }
  #embed-image {
    max-width: 98vw;
    border-radius: 0.7rem;
  }
  #embed-image-container {
    margin-top: 1.2rem;
  }
} 