/* ==========================================================================
   S Exclusive - Clean Modern Style (Exact Match to Competitor Screenshot)
   ========================================================================== */

:root {
  --clp-bg: #f5f6fb;
  --clp-card: #ffffff;
  --clp-text: #171821;
  --clp-muted: #6970a9;
  --clp-border: #e8e9f0;
  --clp-purple: #5146df;
  --clp-green: #16c35b;
  --clp-wa: #25D366;
  --clp-wa-hover: #20bd5b;
  --clp-shadow: 0 10px 28px rgba(29, 31, 55, 0.08);
}

html, body {
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
}

body {
  background: #f5f6fb !important;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--clp-text);
  -webkit-font-smoothing: antialiased;
}

#clp-app {
  background: linear-gradient(180deg, #f8f9fd 0%, #f2f3f8 100%);
  min-height: 100vh;
  padding: 18px 0 36px;
  box-sizing: border-box;
}

#clp-app * {
  box-sizing: border-box;
}

#clp-app a {
  text-decoration: none;
  color: inherit;
}

.clp-wrap {
  width: min(1180px, calc(100% - 28px));
  margin: auto;
}

/* Navigation Header */
.clp-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
}

.clp-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 800;
  min-width: 0;
  color: var(--clp-text);
}

.clp-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  background: #10131a;
  flex: 0 0 42px;
}

.clp-brand-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.clp-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Online Badge (50+ Girls Online Here / WhatsApp 👇) */
.clp-online {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e5e6ed;
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 12px;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(30, 30, 50, 0.04);
  line-height: 1.15;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.clp-online:active {
  transform: scale(0.97);
}

.clp-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #21c764;
  box-shadow: 0 0 0 5px rgba(33, 199, 100, 0.14);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(33, 199, 100, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(33, 199, 100, 0); }
  100% { box-shadow: 0 0 0 0 rgba(33, 199, 100, 0); }
}

.clp-online-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  font-weight: 800;
  color: #171821;
}

.clp-online-text b {
  font-size: 11px;
  color: #16a34a;
}

/* Header Buttons */
.clp-iconbtn {
  width: 48px;
  height: 48px;
  border: 1px solid #e4e5eb;
  background: #fff;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
  cursor: pointer;
  color: var(--clp-text);
  transition: all .15s ease;
}

.clp-iconbtn:hover {
  background: #f7f8fc;
  border-color: #d8dae5;
}

.clp-lang-wrap {
  position: relative;
}

.clp-lang {
  height: 48px;
  padding: 0 14px;
  border: 1px solid #e4e5eb;
  background: #fff;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
  color: var(--clp-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all .15s ease;
}

.clp-lang:hover {
  background: #f7f8fc;
  border-color: #d8dae5;
}

/* Language Dropdown Menu (Scrollable for 12 languages) */
.clp-lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 1000;
  width: 195px;
  max-height: 320px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #e4e5eb;
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 14px 32px rgba(30, 30, 50, 0.14);
}

.clp-lang-menu[hidden] {
  display: none;
}

.clp-lang-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 9px;
  color: #34374a;
  font-size: 13px;
  font-weight: 600;
  transition: all .12s ease;
}

.clp-lang-menu a:hover,
.clp-lang-menu a.active {
  background: #f0efff;
  color: #4037c9;
}

.clp-lang-menu small {
  color: #777b91;
  font-size: 11px;
}

/* Nav Dropdown */
.clp-nav-dropdown {
  background: #fff;
  border: 1px solid #e4e5eb;
  border-radius: 14px;
  padding: 8px;
  margin-top: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.clp-nav-dropdown[hidden] {
  display: none;
}

.clp-nav-dropdown a {
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  color: #34374a;
}

.clp-nav-dropdown a:hover,
.clp-nav-dropdown a.active {
  background: #f0efff;
  color: #4037c9;
}

/* Cards Grid */
.clp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

@media (max-width: 980px) {
  .clp-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  #clp-app {
    padding-top: 10px;
  }
  .clp-wrap {
    width: min(100% - 18px, 560px);
  }
  .clp-nav {
    gap: 8px;
  }
  .clp-logo {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
  .clp-brand {
    font-size: 18px;
  }
  .clp-online {
    padding: 7px 9px;
    font-size: 11px;
  }
  .clp-online-text b {
    font-size: 10px;
  }
  .clp-iconbtn {
    width: 44px;
    height: 44px;
  }
  .clp-lang {
    height: 44px;
    padding: 0 11px;
  }
  .clp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
  }
}

@media (max-width: 380px) {
  .clp-online {
    display: none;
  }
  .clp-brand-name {
    max-width: 135px;
  }
}

/* Card Styling */
.clp-card {
  background: var(--clp-card);
  border: 1px solid var(--clp-border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--clp-shadow);
  transition: transform .18s ease, box-shadow .18s ease;
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.clp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(29, 31, 55, 0.12);
}

.clp-photo {
  position: relative;
  aspect-ratio: 4 / 4.85;
  background: #eef0f6;
  overflow: hidden;
}

.clp-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .4s ease;
}

.clp-card:hover .clp-photo img {
  transform: scale(1.03);
}

.clp-info {
  padding: 12px 12px 13px;
}

.clp-name {
  font-size: 17px;
  line-height: 1.15;
  font-weight: 800;
  margin: 0 0 4px;
  color: #171821;
}

.clp-location {
  font-size: 13px;
  color: var(--clp-muted);
  margin: 0 0 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.clp-location:before {
  content: "⌖";
  margin-right: 4px;
  font-weight: 700;
}

/* WhatsApp Button */
.clp-cta {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: var(--clp-wa);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  padding: 11px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 7px 15px rgba(37, 211, 102, 0.22);
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}

.clp-cta:hover {
  background: var(--clp-wa-hover);
  transform: translateY(-1px);
}

.clp-wa {
  width: 21px;
  height: 21px;
  display: inline-block;
  flex: 0 0 21px;
}

.clp-wa svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

@media (max-width: 700px) {
  .clp-card {
    border-radius: 17px;
  }
  .clp-photo {
    aspect-ratio: 4 / 4.65;
  }
  .clp-info {
    padding: 10px 10px 11px;
  }
  .clp-name {
    font-size: 16px;
  }
  .clp-location {
    font-size: 12px;
    margin-bottom: 9px;
  }
  .clp-cta {
    font-size: 15px;
    padding: 10px 6px;
    border-radius: 11px;
  }
  .clp-wa {
    width: 19px;
    height: 19px;
    flex-basis: 19px;
  }
}

/* Clean Footer */
.clp-footer {
  margin-top: 40px;
  padding: 24px 0 10px;
  text-align: center;
  border-top: 1px solid #e5e6ed;
}

.clp-copyright {
  font-size: 13px;
  color: #8a8fa3;
  margin: 0;
}

/* Toast */
.clp-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: #171821;
  border-radius: 999px;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: all .25s ease;
  z-index: 1000;
}

.clp-toast.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.clp-toast-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #25D366;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

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

.clp-status { position: absolute; right: 10px; top: 10px; width: 17px; height: 17px; border-radius: 50%; background: #18c75d; border: 3px solid rgba(255, 255, 255, 0.95); box-shadow: 0 2px 9px rgba(0, 0, 0, 0.12); z-index: 2; }
