/* Peptox Beauty — Link Hub stylesheet */

:root {
  --pb-rose: #B76E79;
  --pb-rose-soft: #E8B4B8;
  --pb-rose-bright: #F2C9CE;
  --pb-blush: #F7E4E7;
  --pb-marble: #F5D0D4;
  --pb-gold: #D4A574;
  --pb-bg: #0A0608;
  --pb-bg-2: #1A0E12;
  --pb-surface: rgba(42, 18, 26, 0.78);
  --pb-surface-hover: rgba(62, 28, 40, 0.92);
  --pb-border: rgba(232, 180, 184, 0.22);
  --pb-text: #FFF8F9;
  --pb-muted: #D4B0B6;
  --pb-radius: 22px;
  --pb-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  --pb-display: "Cinzel", "Playfair Display", Georgia, serif;
  --pb-script: "Great Vibes", "Pinyon Script", cursive;
  --pb-sans: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--pb-bg); scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--pb-sans);
  color: var(--pb-text);
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(183, 110, 121, 0.28), transparent 55%),
    radial-gradient(800px 500px at 90% 20%, rgba(232, 180, 184, 0.12), transparent 50%),
    radial-gradient(700px 500px at 10% 80%, rgba(183, 110, 121, 0.14), transparent 55%),
    linear-gradient(180deg, var(--pb-bg) 0%, var(--pb-bg-2) 50%, #0D080A 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; border: 0; background: none; color: inherit; cursor: pointer; }

.site {
  position: relative;
  z-index: 1;
  width: min(460px, 100% - 2rem);
  margin: 0 auto;
  padding: 1.5rem 0 2.5rem;
}

/* Background sparkles */
.bg-sparkles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bg-sparkles span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.35;
  box-shadow: 0 0 6px 1px rgba(255, 240, 245, 0.7);
  animation: twinkle var(--d, 3s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes twinkle {
  0%, 100% { opacity: 0.15; transform: scale(0.7); }
  50% { opacity: 0.85; transform: scale(1.3); }
}

/* Hero */
.hero {
  text-align: center;
  padding: 0.5rem 0 1.25rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.hero.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.logo-wrap {
  position: relative;
  width: min(220px, 58vw);
  margin: 0 auto 1.1rem;
  aspect-ratio: 1;
}

.logo-ring {
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    var(--pb-rose-soft) 12%,
    var(--pb-rose) 22%,
    transparent 35%,
    transparent 55%,
    var(--pb-gold) 68%,
    var(--pb-rose-soft) 78%,
    transparent 90%
  );
  opacity: 0.55;
  filter: blur(0.5px);
  animation: ring-spin 10s linear infinite;
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
}
@keyframes ring-spin { to { transform: rotate(360deg); } }

.logo-glow {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 180, 184, 0.45) 0%, transparent 70%);
  filter: blur(12px);
  animation: glow-pulse 3.5s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.04); }
}

.logo-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  animation: logo-float 5s ease-in-out infinite;
  filter: drop-shadow(0 8px 24px rgba(183, 110, 121, 0.45));
}
@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.logo-shimmer {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;
}
.logo-shimmer::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -60%;
  width: 45%;
  height: 140%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 35%,
    rgba(255, 245, 248, 0.55) 50%,
    rgba(255, 255, 255, 0.08) 65%,
    transparent 100%
  );
  transform: skewX(-18deg);
  animation: shimmer-sweep 4.5s ease-in-out infinite;
  animation-delay: 1.5s;
}
@keyframes shimmer-sweep {
  0%, 70% { left: -60%; opacity: 0; }
  75% { opacity: 1; }
  100% { left: 120%; opacity: 0; }
}

.logo-sparkles {
  position: absolute;
  inset: -8%;
  z-index: 4;
  pointer-events: none;
}
.logo-sparkles i {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 6px 2px rgba(255, 240, 245, 0.9);
  animation: spark-twinkle 2.8s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
.logo-sparkles i:nth-child(1) { top: 8%; left: 22%; }
.logo-sparkles i:nth-child(2) { top: 18%; right: 12%; --d: 0.4s; }
.logo-sparkles i:nth-child(3) { bottom: 22%; left: 10%; --d: 0.9s; }
.logo-sparkles i:nth-child(4) { bottom: 14%; right: 20%; --d: 1.3s; }
.logo-sparkles i:nth-child(5) { top: 42%; left: 2%; --d: 1.7s; }
.logo-sparkles i:nth-child(6) { top: 38%; right: 4%; --d: 2.1s; }
@keyframes spark-twinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.6); }
  50% { opacity: 1; transform: scale(1.4); }
}

.brand-title {
  margin: 0;
  font-family: var(--pb-display);
  font-weight: 700;
  font-size: clamp(1.65rem, 6vw, 2.1rem);
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  background: linear-gradient(135deg, #F7E4E7 0%, #E8B4B8 35%, #B76E79 55%, #F2C9CE 80%, #D4A574 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 2px 12px rgba(183, 110, 121, 0.35));
}
.brand-script {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--pb-script);
  font-weight: 400;
  font-size: clamp(1.55rem, 5.5vw, 2rem);
  letter-spacing: 0.04em;
  background: linear-gradient(120deg, #E8B4B8, #B76E79 50%, #F2C9CE);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}
.tagline {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pb-muted);
}

/* Cards */
.links {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.5rem;
}
.card {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 1rem 1.15rem;
  border-radius: var(--pb-radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent 40%),
    var(--pb-surface);
  border: 1px solid var(--pb-border);
  box-shadow: var(--pb-shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  opacity: 0;
  transform: translateY(18px);
}
.hero.is-visible ~ .links .card,
.links.is-visible .card {
  animation: card-in 0.55s ease forwards;
  animation-delay: calc(0.08s * var(--i, 0) + 0.15s);
}
@keyframes card-in {
  to { opacity: 1; transform: translateY(0); }
}
.card:hover, .card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(232, 180, 184, 0.5);
  box-shadow:
    0 0 0 1px rgba(232, 180, 184, 0.15),
    0 12px 36px rgba(183, 110, 121, 0.35),
    0 0 28px rgba(232, 180, 184, 0.18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), transparent 40%),
    var(--pb-surface-hover);
  outline: none;
}
.card-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(232, 180, 184, 0.28), rgba(183, 110, 121, 0.18));
  border: 1px solid rgba(232, 180, 184, 0.3);
  color: var(--pb-blush);
}
.card-icon svg { width: 22px; height: 22px; fill: currentColor; }
.card-body { flex: 1; min-width: 0; text-align: left; }
.card-title {
  margin: 0;
  font-family: var(--pb-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--pb-text);
}
.card-sub {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: var(--pb-muted);
  letter-spacing: 0.02em;
}
.card-arrow {
  color: var(--pb-rose-soft);
  opacity: 0.7;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.card:hover .card-arrow { transform: translateX(3px); opacity: 1; }

.footer {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(212, 176, 182, 0.55);
}
.footer a { color: var(--pb-rose-soft); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .logo-ring, .logo-img, .logo-glow, .logo-shimmer::after,
  .logo-sparkles i, .bg-sparkles span { animation: none !important; }
  .card { opacity: 1; transform: none; animation: none !important; }
  .hero { opacity: 1; transform: none; transition: none; }
}

@media (min-width: 480px) {
  .site { padding-top: 2rem; }
  .logo-wrap { width: 240px; }
}

/* Featured WhatsApp card */
.card-featured {
  position: relative;
  padding: 1.25rem 1.2rem;
  gap: 1.05rem;
  border-color: rgba(232, 180, 184, 0.45);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), transparent 45%),
    linear-gradient(160deg, rgba(37, 211, 102, 0.12), transparent 55%),
    var(--pb-surface);
  box-shadow:
    0 0 0 1px rgba(232, 180, 184, 0.18),
    0 18px 50px rgba(0, 0, 0, 0.55),
    0 0 36px rgba(183, 110, 121, 0.35);
  overflow: hidden;
}
.card-featured::before {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: -1;
  background: conic-gradient(from 0deg, transparent 0%, #E8B4B8 12%, #B76E79 22%, transparent 35%, transparent 55%, #25D366 68%, #E8B4B8 80%, transparent 92%);
  opacity: 0.45;
  animation: featured-spin 5s linear infinite;
  filter: blur(14px);
}
@keyframes featured-spin { to { transform: rotate(360deg); } }
.card-featured .card-icon.wa-icon {
  width: 52px;
  height: 52px;
  flex-basis: 52px;
  border-radius: 16px;
  background: linear-gradient(145deg, #25D366, #128C7E);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}
.card-featured .card-icon.wa-icon svg { width: 28px; height: 28px; }
.card-featured .card-title {
  font-size: clamp(0.92rem, 3.6vw, 1.05rem);
  letter-spacing: 0.02em;
  line-height: 1.25;
}
.card-featured .card-body { padding-right: 0.15rem; }
.card-featured .card-sub { color: var(--pb-blush); }
.join-pill {
  flex-shrink: 0;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0A0608;
  background: linear-gradient(135deg, #E8B4B8, #B76E79 55%, #D4A574);
  box-shadow: 0 4px 14px rgba(183, 110, 121, 0.45);
  animation: pill-pulse 2.4s ease-in-out infinite;
}
@keyframes pill-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 14px rgba(183, 110, 121, 0.45); }
  50% { transform: scale(1.05); box-shadow: 0 6px 20px rgba(232, 180, 184, 0.55); }
}
.card-featured:hover, .card-featured:focus-visible {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(232, 180, 184, 0.65);
}

/* Product / NIIMBOT card */
.product-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
  padding: 0.85rem;
}
.product-link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: inherit;
  text-decoration: none;
}
.product-img {
  flex: 0 0 88px;
  width: 88px;
  height: 72px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(232, 180, 184, 0.25);
  background: #fff;
}
.code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.55rem 0.7rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(232, 180, 184, 0.16), rgba(183, 110, 121, 0.12));
  border: 1px solid rgba(232, 180, 184, 0.28);
}
.code-badge {
  font-size: 0.78rem;
  color: var(--pb-blush);
  letter-spacing: 0.02em;
}
.code-badge strong {
  font-family: var(--pb-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: #F7E4E7;
  text-shadow: 0 0 12px rgba(183, 110, 121, 0.55);
}
.copy-btn {
  flex-shrink: 0;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0A0608;
  background: linear-gradient(135deg, #F2C9CE, #E8B4B8 40%, #B76E79);
  box-shadow: 0 3px 12px rgba(183, 110, 121, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.copy-btn:hover { transform: translateY(-1px); }
.copy-btn.is-copied {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .card-featured::before, .join-pill { animation: none !important; }
}
