
:root {
  --background: #282525;
  --foreground: #fff;
  --card: #1a0f2e;
  --card-foreground: #fff;
  --primary: #a855f7;
  --primary-foreground: #fff;
  --secondary: #4d7cff;
  --secondary-foreground: #fff;
  --muted: rgb(255 255 255 / 10%);
  --muted-foreground: #ffc2c2;
  --accent: #ff4d8f;
  --accent-foreground: #fff;
  --destructive: #ff4d6d;
  --border: rgb(255 255 255 / 10%);
  --input: rgb(255 255 255 / 10%);
  --ring: #a855f7;
  --radius: 12px;
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-muted: var(--muted);
  --color-muted-foreground: var(--muted-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
  --color-destructive: var(--destructive);
  --color-border: var(--border);
  --color-input: var(--input);
  --color-ring: var(--ring);
  --radius-lg: var(--radius);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  max-width: 500px;
  margin: 0 auto;
  padding: 0;
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #f5f5f5;
}

.landing-container {
  width: 100%;
  max-width: 500px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0;
  background: #282525;
}

.component {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
}

.avatar-cluster-component {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 350px;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #2d1b4e 0%, #5b2c7d 100%);
  border: 2px solid transparent;
}

.decoration {
  position: absolute;
  color: #ff69b4;
  opacity: 0.3;
}

.heart { top: 8%; right: 10%; font-size: 24px; }
.star-one { top: 25%; left: 5%; font-size: 20px; }
.star-two { right: 8%; bottom: 30%; font-size: 16px; }
.dot-one,
.dot-two { border-radius: 50%; background: #ff69b4; opacity: 0.4; }
.dot-one { top: 35%; left: 12%; width: 8px; height: 8px; }
.dot-two { bottom: 20%; left: 15%; width: 6px; height: 6px; }

.hero-title {
  z-index: 1;
  margin-bottom: 12px;
  color: #ff00ff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  background-image: linear-gradient(90deg, #ff00ff, #00ffff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  z-index: 1;
  margin-bottom: 24px;
  color: #ffc2c2;
  font-size: 13px;
  font-weight: 400;
  text-align: center;
  opacity: 0.9;
}

.hero-button {
  z-index: 1;
  display: inline-block;
  margin-bottom: 20px;
  padding: 12px 48px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  background: linear-gradient(90deg, #ff4d6d 0%, #4d7cff 100%);
  border-radius: 21px;
  box-shadow: 0 4px 12px rgb(0 0 0 / 30%);
}

.radar-card {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  max-width: 600px;
  min-height: 200px;
  align-items: center;
  padding: 20px 15px;
  background: rgb(0 0 0 / 50%);
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 24px;
  box-shadow: 0 8px 24px rgb(0 0 0 / 50%);
  backdrop-filter: blur(10px);
}

.radar-center {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  transform: translate(-50%, -50%);
}

.radar-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  background: #4d7cff;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 12px rgb(77 124 255 / 80%);
  transform: translate(-50%, -50%);
}

.radar-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  border: 2px solid rgb(77 124 255 / 60%);
  border-radius: 50%;
  animation: pulse 2s ease-out infinite;
}

.ring-two { animation-delay: 1s; }

.avatar-map {
  position: relative;
  width: 100%;
  height: 180px;
}

.nearby-avatar {
  position: absolute;
  top: var(--avatar-top);
  left: var(--avatar-left);
  transform: translate(-50%, -50%);
}

.avatar-image-wrap {
  position: relative;
  margin-bottom: 8px;
}

.avatar-image-wrap img {
  display: block;
  width: 63px;
  height: 63px;
  object-fit: cover;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgb(0 0 0 / 30%);
}

.online-dot {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 8px;
  height: 8px;
  background: #00ff00;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 4px rgb(0 255 0 / 60%);
  animation: blink 1s ease-in-out infinite;
}

.distance-label {
  padding: 1px 3px;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  background: #7b3ff2;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgb(0 0 0 / 30%);
}

.social-component {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #2d1b4e 0%, #1a0f2e 100%);
  border: 2px solid transparent;
  border-radius: 16px;
}

.cover-wrap {
  position: relative;
  width: 100%;
  height: 300px;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: 12px;
}

.cover-wrap > img,
.video-thumb > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.away-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  background: #ff4d8f;
  border-radius: 20px;
}

.taking-orders {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  background: rgb(0 200 0 / 90%);
  border-radius: 20px;
}

.taking-orders span {
  width: 8px;
  height: 8px;
  background: #00ff00;
  border-radius: 50%;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.profile-tags > div {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  color: #fff;
  font-size: 13px;
  background: rgb(255 255 255 / 10%);
  border-radius: 20px;
}

.profile-copy {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 12px;
  color: #fff;
  font-size: 13px;
  background: rgb(255 255 255 / 10%);
  border-radius: 12px;
}

.profile-copy svg { flex-shrink: 0; }

.video-strip {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.video-thumb {
  position: relative;
  flex: 1;
  height: 80px;
  overflow: hidden;
  border-radius: 8px;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  background: #ff4d8f;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.contact-button {
  display: block;
  padding: 14px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  background: linear-gradient(90deg, #a855f7 0%, #8b5cf6 100%);
  border-radius: 12px;
}

@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; box-shadow: 0 0 8px rgb(0 255 0 / 80%); transform: scale(1.4); }
}

@keyframes pulse {
  0% { opacity: 0.8; transform: translate(-50%, -50%) scale(0.5); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(2.5); }
}

@media (min-width: 751px) {
  body { box-shadow: 0 0 20px rgb(0 0 0 / 10%); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
