/* 🌸 BASIS */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #fdf6f8;
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.profile-container {
  display: flex;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}

/* 🎀 PROFIEL LINKS */
.profile-info {
  width: 40%;
  background: white;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 2px 0 10px rgba(0,0,0,0.05);
  overflow-y: auto;
}

.profile-image {
  width: 220px;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
  margin: 0 auto 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-details {
  width: 100%;
  line-height: 1.5;
  text-align: center;
}

.profile-details h2 {
  margin: 0;
  font-size: 1.8em;
  color: #c2185b;
}

.profile-details p {
  margin: 4px 0;
  color: #555;
}

.profile-traits {
  width: 100%;
  margin-top: 10px;
}

.profile-traits h3 {
  font-size: 1.1em;
  color: #c2185b;
  margin: 6px 0 8px;
  text-align: center;
}

/* PROFIEL ACTIES */
.profile-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  max-width: 340px;
  margin: 25px auto 0;
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 600;
  padding: 10px 10px 10px 0;
  border-radius: 8px;
  border: none;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}

.contact-btn span {
  display: none;
}

.contact-btn:hover {
  transform: scale(1.05);
}

.contact-btn.active {
  opacity: 0.8;
  transform: scale(0.96);
}

.contact-btn.interest { background: #e91e63; }
.contact-btn.favorite { background: #f39c12; }
.contact-btn.hide { background: #9e9e9e; }
.contact-btn.block { background: #e53935; }

.contact-btn.interest:hover { background: #c2185b; }
.contact-btn.favorite:hover { background: #d68910; }
.contact-btn.hide:hover { background: #757575; }
.contact-btn.block:hover { background: #c62828; }

/* 💬 CHAT RECHTS */
.chat-area {
  flex: 1;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.chat-header {
  background: #c2185b;
  color: white;
  padding: 15px 20px;
  font-weight: bold;
  font-size: 1.1em;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: linear-gradient(to bottom, #f3eef1, #ece7ea);
}

.message {
  position: relative;
  max-width: 75%;
  padding: 10px 14px;
  border-radius: 18px;
  line-height: 1.4;
  word-wrap: break-word;
  margin-bottom: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  font-size: 15px;
  animation: popIn 0.25s ease;
}

.me {
  align-self: flex-end;
  background: #c2185b;
  color: white;
  border-bottom-right-radius: 6px;
}

.them {
  align-self: flex-start;
  background: #fff;
  color: #333;
  border-bottom-left-radius: 6px;
}

.message-text {
  font-size: 15px;
  line-height: 1.4;
}

.message-text.big-emoji {
  font-size: 64px;
  line-height: 1;
}

.message .big-emoji {
  background: transparent;
  box-shadow: none;
}

.message-time {
  display: block;
  font-size: 11px;
  color: #999;
  margin-top: 4px;
  text-align: right;
}

/* ⋯ MESSAGE MENU */
.message-menu-btn {
  position: absolute;
  top: -7px;
  right: -7px;
  z-index: 10;
  border: none;
  background: rgba(255,255,255,0.95);
  color: #555;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  font-size: 17px;
  line-height: 20px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  opacity: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.message:hover .message-menu-btn {
  opacity: 0.85;
}

.message-menu-btn:hover {
  opacity: 1;
  transform: scale(1.06);
}

.message-menu {
  position: absolute;
  top: 24px;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  overflow: hidden;
  z-index: 10000;
  min-width: 140px;
}

.message-menu.hidden {
  display: none !important;
}

.message-menu button {
  width: 100%;
  border: none;
  background: white;
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  color: #333;
}

.message-menu button:hover {
  background: #f5f5f5;
}

/* CHAT INPUT */
.chat-input {
  position: relative;
  display: flex;
  align-items: center;
  border-top: 1px solid #ddd;
  background: white;
  padding: 0;
  flex-wrap: nowrap;
}

.chat-input input {
  flex: 1;
  border: none;
  padding: 12px;
  font-size: 14px;
  border-radius: 6px;
  outline: none;
  background: #f5f5f5;
  margin-right: 10px;
}

.chat-input button {
  background: #c2185b;
  color: white;
  border: none;
  padding: 0 20px;
  cursor: pointer;
  font-size: 16px;
}

.chat-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-icons button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  font-size: 20px;
  transition: background 0.2s, transform 0.2s;
}

.chat-icons button:hover {
  background: rgba(0,0,0,0.05);
  transform: scale(1.15);
}

.chat-icons img {
  width: 22px;
  height: 22px;
  opacity: 0.8;
}

/* EMOJI PICKER */
.emoji-picker {
  position: absolute;
  bottom: 50px;
  right: 50px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  max-width: 220px;
  font-size: 22px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  z-index: 100;
}

.emoji-picker span {
  cursor: pointer;
}

/* FOTO STRIP */
.chat-photo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 1px solid #eee;
  background: #fff;
  justify-content: flex-start;
  padding: 8px;
}

.chat-photo-strip img {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.2s;
}

.chat-photo-strip img:hover {
  transform: scale(1.08);
}

/* DATE DIVIDER */
.chat-date-divider {
  display: flex;
  justify-content: center;
  margin: 22px 0 12px;
}

.chat-date-divider span {
  background: linear-gradient(135deg, rgba(255,77,136,0.15), rgba(255,0,102,0.15));
  border: 1px solid rgba(255,0,102,0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  color: #c2185b;
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  animation: fadeDate 0.3s ease;
}

/* TYPING */
#typingIndicator {
  font-size: 13px;
  color: #999;
  font-style: italic;
  padding: 6px 16px;
  opacity: 0;
  transition: opacity 0.4s ease;
  visibility: hidden;
}

#typingIndicator.show {
  opacity: 1;
  visibility: visible;
}

/* VIDEO */
#videoArea {
  text-align: center;
  margin-top: 10px;
}

#videoContainer {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

#videoContainer video {
  width: 280px;
  max-width: 45%;
  height: auto;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* BACK BUTTON */
.back-button {
  position: fixed;
  top: 20px;
  left: 25px;
  font-size: 40px;
  color: rgba(255,255,255,0.8);
  background: #c2185b;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 3px 6px rgba(0,0,0,0.3);
  transition: all 0.25s ease;
}

.back-button:hover {
  color: white;
  background: #d63a74;
  transform: scale(1.1);
}

/* LOADING */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  color: #c2185b;
  font-size: 1.2em;
  animation: fadeIn 0.3s ease;
}

.loading-heart {
  font-size: 48px;
  animation: spin 1.6s linear infinite;
  margin-bottom: 12px;
}

/* PREMIUM MODAL */
.premium-modal {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,77,136,0.25), transparent 45%),
    radial-gradient(circle at 70% 60%, rgba(255,0,102,0.18), transparent 50%),
    rgba(0,0,0,0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.premium-modal.hidden {
  display: none;
}

.premium-box {
  position: relative;
  width: 460px;
  max-width: 95%;
  padding: 34px 30px 28px;
  border-radius: 22px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.86));
  box-shadow: 0 25px 80px rgba(0,0,0,0.40);
  border: 1px solid rgba(255,77,136,0.18);
  overflow: hidden;
  animation: sexyPop 0.28s ease;
}

.premium-box::before,
.premium-box::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  filter: blur(30px);
  opacity: 0.55;
  pointer-events: none;
}

.premium-box::before {
  left: -60px;
  top: -70px;
  background: rgba(255,77,136,0.55);
}

.premium-box::after {
  right: -70px;
  bottom: -80px;
  background: rgba(255,0,102,0.35);
}

.pm-title,
.pm-tease,
.pm-tease-th,
.premium-benefits.sexy,
.premium-buttons {
  position: relative;
  z-index: 1;
}

.pm-title {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #1f1f1f;
}

.pm-spark {
  display: inline-block;
  transform: translateY(1px);
}

.pm-tease {
  margin: 0 auto 6px;
  max-width: 340px;
  color: #444;
  font-size: 15.5px;
  line-height: 1.35;
}

.pm-tease-th {
  margin: 0 auto 14px;
  max-width: 360px;
  color: #777;
  font-size: 13.5px;
}

.premium-benefits.sexy {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
  text-align: left;
}

.premium-benefits.sexy li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 10px 22px rgba(0,0,0,0.06);
}

.premium-benefits.sexy .ico {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(45deg, rgba(255,77,136,0.20), rgba(255,0,102,0.14));
  border: 1px solid rgba(255,0,102,0.16);
  font-size: 16px;
}

.premium-benefits.sexy li span:last-child {
  font-size: 14.8px;
  color: #2b2b2b;
}

.premium-buttons {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.upgrade-btn {
  border: none;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #ff4d88, #ff0066);
  box-shadow: 0 18px 38px rgba(255,0,102,0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  animation: softPulse 2.8s ease-in-out infinite;
}

.upgrade-btn:hover {
  animation: none;
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 22px 48px rgba(255,0,102,0.36);
  filter: saturate(1.08);
}

.upgrade-btn:active {
  transform: translateY(0) scale(0.99);
}

.cancel-btn {
  background: transparent;
  border: none;
  color: #666;
  cursor: pointer;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.cancel-btn:hover {
  background: rgba(0,0,0,0.06);
  color: #333;
}

/* ANIMATIES */
@keyframes popIn {
  from { transform: scale(0.9); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDate {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes sexyPop {
  from { transform: translateY(10px) scale(0.96); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes softPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.03); }
}

/* 📱 MOBIEL */
@media (max-width: 768px) {
  body {
    flex-direction: column;
    height: auto;
  }

  .profile-container {
    flex-direction: column;
    overflow: visible;
  }

  .profile-info {
    width: 100%;
    box-shadow: none;
    border-bottom: 1px solid #eee;
    padding: 20px 16px;
    align-items: center;
    text-align: center;
  }

  .profile-image {
    width: 160px;
    height: 160px;
  }

  .profile-details {
    width: 70%;
    text-align: center;
  }

  .profile-details h2 {
    font-size: 1.4em;
  }

  .profile-details p {
    font-size: 0.9em;
  }

  .profile-traits table {
    width: 300px;
    margin: 0 auto;
    font-size: 0.9em;
  }

  .chat-area {
    width: 100%;
    flex: none;
    margin-top: 10px;
    box-shadow: none;
    border-radius: 0;
    height: auto;
  }

  .chat-header {
    font-size: 1em;
    padding: 10px 14px;
  }

  .chat-messages {
    max-height: 55vh;
    min-height: 200px;
    overflow-y: auto;
    scroll-behavior: smooth;
    padding: 12px;
  }

  .chat-input {
    flex-wrap: wrap;
  }

  .chat-input input {
    flex: 1 1 100%;
    margin: 0 0 8px;
  }

  .chat-icons {
    justify-content: flex-end;
    width: 100%;
  }

  .back-button {
    top: 10px;
    left: 10px;
    width: 42px;
    height: 42px;
    line-height: 42px;
    font-size: 28px;
  }

  #videoContainer {
    flex-direction: column;
    align-items: center;
  }

  #videoContainer video {
    max-width: 90%;
  }

  .message-menu-btn {
    opacity: 0.45;
  }
}

@media (max-width: 480px) {
  .profile-actions {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .contact-btn {
    font-size: 13px;
    padding: 9px 0;
  }
}

@media (max-width: 420px) {
  .premium-box {
    padding: 28px 20px 22px;
  }

  .pm-title {
    font-size: 24px;
  }
}