* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body, html {
  height: 100%;
  overflow: hidden;
  color: white;
}

/* VIDEO */
.video-bg {
  position: fixed;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  transition: filter 0.5s ease;
}

/* OVERLAY */
.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.35);
}

/* BUTTON */
.unmute-overlay {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.6);
  padding: 12px 20px;
  border-radius: 25px;
  z-index: 100;
}

/* TOP */
.top {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
}

.profile {
  display: flex;
  gap: 8px;
  align-items: center;
}

.profile img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

/* SIDE USERS */
.side-users {
  position: absolute;
  left: 10px;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.side-users img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

/* CHAT STACK */
.chat-stack {
  position: absolute;
  left: 12px;
  right: 70px;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.warning {
  font-size: 12px;
  color: #ff8b8b;
  line-height: 1.4;
}

.chat {
  max-height: 110px;
  overflow: hidden;
}

.msg {
  display: flex;
  gap: 6px;
  margin-bottom: 4px;

  min-height: 26px; /* 👈 ADD THIS */
}

.avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.username {
  color: #ff4da6;
  font-weight: bold;
  font-size: 12px;
}

.msg-text {
  font-size: 12px;
  line-height: 1.3; /* 👈 ADD THIS */
}

/* ========================= */
/* 🤍 HEARTS (FINAL POLISH) */
/* ========================= */

.heart {
  position: fixed;
  pointer-events: none;

  /* 👇 slightly bigger */
  font-size: 18px;

  color: rgba(255,255,255,0.75);
  z-index: 30;

  animation: floatHeart 3.2s ease-out forwards;
}

@keyframes floatHeart {
  0% {
    transform: translate(-50%, 0) scale(0.7);
    opacity: 0.95;
  }

  25% {
    transform: translate(-45%, -50px) scale(0.85);
  }

  50% {
    transform: translate(-55%, -100px) scale(1);
  }

  75% {
    transform: translate(-48%, -140px) scale(1.05);
  }

  100% {
    transform: translate(-52%, -180px) scale(1.1);
    opacity: 0;
  }
}

/* INPUT */
.input-bar {
  position: absolute;
  bottom: 15px;
  left: 10px;
  right: 10px;
  display: flex;
  gap: 8px;
}

.input-bar input {
  flex: 1;
  padding: 10px;
  border-radius: 25px;
  border: none;
}

/* BLUR */
.blurred .video-bg {
  filter: blur(8px);
}

/* PRIVATE MODE */
.private-overlay {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  max-width: 350px;
  background: rgba(0,0,0,0.75);
  padding: 18px;
  border-radius: 12px;
  text-align: center;
  z-index: 50;
  pointer-events: none;
}