body {
  margin: 0;
  font-family: Arial;
  overflow: hidden;
  color: white;
  background: black;
}

/* START */
.start-screen {
  position: fixed;
  width: 100%;
  height: 100%;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 26px;
  cursor: pointer;
  z-index: 1000;
}

/* HEADER */
.header {
  display: flex;
  align-items: center;
  padding: 10px;
  background: #075e54;
}

.dp {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.user-info {
  margin-left: 10px;
}

.name {
  font-weight: bold;
}

.heart {
  color: red;
  text-shadow: 0 0 8px red;
}

.status {
  font-size: 12px;
  opacity: 0.8;
}

/* CHAT */
.chat-container {
  max-width: 400px;
  margin: auto;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #0f2027;
}

#chat {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
}

.msg {
  padding: 10px;
  margin: 8px;
  border-radius: 10px;
  max-width: 70%;
}

.left { background: #202c33; }
.right { background: #005c4b; margin-left: auto; }

.typing { font-size: 12px; opacity: 0.7; }

/* PHOTO */
.photo-scene {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* BLUR BG */
.bg-blur {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: blur(20px) brightness(0.6);
  transform: scale(1.2);
}

/* IMAGE */
.photo-scene img {
  width: 260px;
  border-radius: 20px;
  z-index: 2;
  transition: opacity 0.8s ease;
  box-shadow: 0 0 40px rgba(255,182,193,0.6);
  animation: heartbeat 4s infinite;
}

/* TEXT */
#caption {
  z-index: 2;
  margin-top: 20px;
  font-size: 22px;
  text-align: center;
  transition: opacity 0.8s ease;
  text-shadow: 0 0 10px pink;
}

/* PARTICLES */
.particles {
  position: absolute;
  width: 100%;
  height: 100%;
}

.particles span {
  position: absolute;
  width: 6px;
  height: 6px;
  background: pink;
  border-radius: 50%;
  animation: float 10s linear infinite;
}

@keyframes float {
  from { transform: translateY(100vh); }
  to { transform: translateY(-10vh); }
}

/* HEARTBEAT */
@keyframes heartbeat {
  0% { transform: scale(1); }
  25% { transform: scale(1.05); }
  50% { transform: scale(0.98); }
  75% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* FADE */
.fade-out {
  animation: fadeOut 2s forwards;
}

@keyframes fadeOut {
  to { opacity: 0; }
}