* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  background: black;
  padding: 0;
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
  overflow: hidden;
}

#enterOverlay {
  transition: opacity 0.6s ease;
}

#av {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid white;
  object-fit: cover;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

#bgVideo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
}

#enterOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: opacity 0.6s ease;
}

.main-wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.profile-card {
  position: relative;
  width: 600px;
  max-width: 90vw;
  height: 200px;
  margin: auto;
  padding: 20px 30px;
  border-radius: 20px;
  background: rgba(13, 13, 13, 0.7);
  color: white;
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
}

.crown-container {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  pointer-events: none;
}

.crown-container img {
  width: 100%;
  height: auto;
  display: block;
}

.info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.username {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
}

.quote-container {
  height: 50px;
  font-style: italic;
  color: #ddd;
  overflow: hidden;
  user-select: none;
  font-family: monospace, monospace;
  white-space: nowrap;
  padding-right: 5px;
}

.pfp-container img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 8px rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.1);
}

.anon-btn {
  margin: 20px auto 10px auto;
  display: block;
  padding: 12px 25px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 8px;
  border: none;
  background-color: #090909;
  color: white;
  transition: background-color 0.3s ease;
  max-width: 600px;
  width: 90vw;
}
.anon-btn:hover {
  background-color: #616161;
}

.message-card {
  position: static;
  background: rgba(0,0,0,0.75);
  color: white;
  border-radius: 20px;
  padding: 20px;
  width: 600px;
  max-width: 90vw;
  display: none;
  z-index: 2;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  margin-bottom: 20px;
}

.message-card h2 {
  font-size: 18px;
  margin-bottom: 10px;
}

.message-card textarea {
  width: 100%;
  height: 100px;
  resize: none;
  padding: 10px;
  border-radius: 10px;
  border: none;
  outline: none;
  font-family: inherit;
}

.message-card button {
  margin-top: 10px;
  width: 100%;
  padding: 10px;
  background: #444;
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s;
}

.message-card button:hover {
  background: #666;
}

.sound-controls {
  position: fixed;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 5;
}

#muteBtn {
  background: #111;
  color: white;
  border: none;
  padding: 10px;
  font-size: 18px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s;
}

#muteBtn:hover {
  background: #333;
}

#volumeSlider {
  width: 100px;
  appearance: none;
  height: 6px;
  border-radius: 5px;
  background: #444;
  outline: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.sound-controls:hover #volumeSlider {
  opacity: 1;
}