:root {
  color-scheme: dark;
  --ink: #f8f5ff;
  --muted: #c9bddc;
  --purple: #a855f7;
  --violet: #7c3aed;
  --cyan: #22d3ee;
  --lime: #b7ff38;
}

* { box-sizing: border-box; }

html {
  min-width: 288px;
  min-height: 100%;
  background: #07040f;
  font-family: "Trebuchet MS", Trebuchet, Arial, sans-serif;
  font-style: italic;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
}

button, a { font: inherit; }

.card-only-body {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 14% 15%, rgba(108, 35, 178, .35), transparent 28.8rem),
    radial-gradient(circle at 88% 88%, rgba(20, 104, 145, .24), transparent 27rem),
    #07040f;
}

.card-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  align-content: center;
  padding: clamp(.9rem, 3.6vw, 2.7rem);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.flip-card {
  width: min(828px, 100%);
  min-height: 598.5px;
  perspective: 1440px;
  cursor: pointer;
  text-align: left;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  min-height: 598.5px;
  transform-style: preserve-3d;
  transition: transform .8s cubic-bezier(.2, .75, .2, 1);
}

.flip-card.is-flipped .flip-card-inner { transform: rotateY(180deg); }

.card-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(216, 180, 254, .28);
  border-radius: 28.8px;
  padding: clamp(1.215rem, 3.6vw, 2.43rem);
  background:
    radial-gradient(circle at 13% 12%, rgba(168, 85, 247, .31), transparent 32%),
    radial-gradient(circle at 92% 88%, rgba(34, 211, 238, .16), transparent 30%),
    linear-gradient(145deg, rgba(31, 15, 53, .99), rgba(11, 9, 27, .98));
  box-shadow: 0 28.8px 90px rgba(0, 0, 0, .5), inset 0 1px rgba(255,255,255,.07);
  color: var(--ink);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  isolation: isolate;
}

.card-face::before {
  content: "";
  position: absolute;
  inset: -42%;
  z-index: -2;
  background: conic-gradient(from 90deg, transparent 0 65%, rgba(168,85,247,.18) 76%, transparent 88%);
  animation: aura 13s linear infinite;
}

.card-face::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .23;
  background-image:
    radial-gradient(circle, #fff 0 1px, transparent 1.4px),
    radial-gradient(circle, #c084fc 0 1px, transparent 1.4px);
  background-position: 0 0, 30.6px 22.5px;
  background-size: 66.6px 66.6px, 86.4px 86.4px;
  mask-image: linear-gradient(135deg, #000, transparent 82%);
}

.card-back { transform: rotateY(180deg); }

.card-topline,
.card-footer-line,
.card-back-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .9rem;
}

.card-mini-label {
  color: #d8b4fe;
  font-size: .666rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: .495rem;
  color: var(--muted);
  font-size: .702rem;
  font-weight: 700;
}

.availability span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5.4px rgba(183,255,56,.1), 0 0 19.8px var(--lime);
}

.card-brand-lockup {
  display: flex;
  align-items: center;
  gap: 1.215rem;
  margin-block: 1.215rem .765rem;
}

.card-logo-wrap {
  width: 97.2px;
  height: 97.2px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(233,213,255,.25);
  border-radius: 24.3px;
  background: rgba(7,3,17,.62);
  box-shadow: 0 0 41.4px rgba(168,85,247,.22);
}

.card-logo-wrap img { width: 79.2px; height: 79.2px; }

.card-brand-copy strong {
  display: block;
  font-size: clamp(2.43rem, 6.3vw, 4.23rem);
  line-height: .92;
  letter-spacing: -.06em;
}

.card-brand-copy span {
  display: block;
  margin-top: .675rem;
  color: var(--muted);
  font-size: clamp(.855rem, 1.8vw, 1.026rem);
}

.service-chips,
.social-row,
.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .495rem;
}

.service-chips span {
  border: 1px solid rgba(216,180,254,.18);
  border-radius: 899.1px;
  padding: .432rem .702rem;
  background: rgba(255,255,255,.035);
  color: #e9d5ff;
  font-size: .675rem;
  font-weight: 700;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .675rem;
  margin-block: .9rem;
}

.proof-row span {
  min-width: 0;
  border-left: 2px solid rgba(168,85,247,.55);
  padding: .27rem 0 .27rem .63rem;
  color: var(--muted);
  font-size: .648rem;
  line-height: 1.45;
}

.proof-row strong {
  display: block;
  color: var(--ink);
  font-size: .747rem;
}

.social-row { align-items: center; }

.social-label {
  margin-right: .135rem;
  color: var(--muted);
  font-size: .648rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.social-button,
.contact-actions a,
.copy-link,
.flip-control {
  min-height: 39.6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .405rem;
  border: 1px solid rgba(216,180,254,.22);
  border-radius: 899.1px;
  padding: .585rem .81rem;
  background: rgba(255,255,255,.05);
  color: var(--ink);
  text-decoration: none;
  font-size: .684rem;
  font-weight: 800;
  cursor: pointer;
}

.social-button:hover,
.contact-actions a:hover,
.copy-link:hover,
.flip-control:hover {
  border-color: rgba(192,132,252,.8);
  background: rgba(168,85,247,.15);
}

.social-mark {
  width: 21.6px;
  height: 21.6px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  font-size: .792rem;
  font-style: normal;
  font-weight: 900;
}

.whatsapp .social-mark { background: #25d366; color: #07160c; }
.facebook .social-mark { background: #1877f2; color: #fff; }
.tiktok .social-mark { background: #050505; color: #25f4ee; text-shadow: 1px 1px #fe2c55; }

.launch-panel {
  position: relative;
  overflow: hidden;
  margin-top: .9rem;
  border: 1px solid rgba(216,180,254,.2);
  border-radius: 18px;
  padding: .72rem .81rem;
  background:
    linear-gradient(110deg, rgba(168,85,247,.12), rgba(34,211,238,.055)),
    rgba(5,3,15,.34);
  box-shadow: inset 0 1px rgba(255,255,255,.04);
}

.launch-panel::after {
  content: "";
  position: absolute;
  width: 81px;
  height: 81px;
  right: -30.6px;
  bottom: -46.8px;
  border: 1px solid rgba(34,211,238,.32);
  border-radius: 50%;
  box-shadow: 0 0 25.2px rgba(34,211,238,.12);
}

.launch-panel-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: .9rem;
}

.launch-panel-heading small,
.launch-panel-heading strong {
  display: block;
}

.launch-panel-heading small {
  margin-bottom: .135rem;
  color: var(--cyan);
  font-size: .567rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.launch-panel-heading strong {
  color: var(--ink);
  font-size: .792rem;
}

.launch-panel-heading a {
  min-height: 39.6px;
  display: inline-flex;
  align-items: center;
  color: #e9d5ff;
  font-size: .648rem;
  font-weight: 800;
  text-decoration: none;
}

.launch-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: .495rem;
}

.launch-track::before {
  content: "";
  position: absolute;
  top: 10.8px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  box-shadow: 0 0 10.8px rgba(168,85,247,.55);
}

.launch-track span {
  position: relative;
  z-index: 1;
  text-align: center;
}

.launch-track i {
  width: 22.5px;
  height: 22.5px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(233,213,255,.35);
  border-radius: 50%;
  background: #170b2b;
  color: #d8b4fe;
  font-size: .504rem;
  font-style: normal;
  font-weight: 900;
  box-shadow: 0 0 12.6px rgba(168,85,247,.25);
}

.launch-track span:last-child i {
  border-color: rgba(34,211,238,.55);
  color: #a5f3fc;
  box-shadow: 0 0 14.4px rgba(34,211,238,.24);
}

.launch-track b {
  display: block;
  margin-top: .198rem;
  color: var(--muted);
  font-size: .558rem;
}

.share-image-button {
  min-height: 39.6px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .405rem;
  margin-top: .63rem;
  border: 1px solid rgba(34,211,238,.3);
  border-radius: 10.8px;
  background: rgba(34,211,238,.07);
  color: #cffafe;
  font: inherit;
  font-size: .648rem;
  font-weight: 800;
  cursor: pointer;
}

.share-image-button:hover {
  border-color: rgba(34,211,238,.68);
  background: rgba(34,211,238,.13);
}

.card-footer-line {
  margin-top: auto;
  border-top: 1px solid rgba(233,213,255,.14);
  padding-top: .765rem;
}

.card-footer-line > a {
  min-height: 39.6px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: .72rem;
  text-decoration: none;
}

.card-back-header { align-items: flex-start; margin-bottom: 1.08rem; }

.card-back-header strong {
  display: block;
  margin-top: .27rem;
  font-size: clamp(1.305rem, 2.7vw, 1.935rem);
}

.card-back-grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(171px, .7fr);
  gap: clamp(1.08rem, 3.6vw, 2.16rem);
  align-items: center;
}

.card-person-line {
  margin: 0 0 .495rem;
  color: #d8b4fe;
  font-size: .738rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: none;
}

.card-back-copy > p {
  margin: 0 0 .72rem;
  color: var(--muted);
  line-height: 1.55;
  font-size: .828rem;
}

.back-social-row { margin-top: .585rem; }

.card-back-copy ul {
  display: grid;
  gap: .378rem;
  margin: 0 0 .9rem;
  padding: 0;
  list-style: none;
  color: #e9d5ff;
  font-size: .738rem;
}

.card-back-copy li::before {
  content: "✦";
  margin-right: .495rem;
  color: var(--cyan);
}

.contact-actions {
  display: grid;
  gap: .495rem;
}

.contact-actions a {
  justify-content: space-between;
  border-radius: 12.6px;
}

.qr-panel { text-align: center; }

.qr-link {
  display: block;
  padding: .585rem;
  border: 1px solid rgba(233,213,255,.24);
  border-radius: 19.8px;
  background: #fff;
  box-shadow: 0 0 34.2px rgba(168,85,247,.25);
}

.qr-link img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10.8px;
}

.qr-panel > strong {
  display: block;
  margin: .585rem 0;
  color: var(--muted);
  font-size: .648rem;
}

.copy-link { width: 100%; }

.card-instruction,
.share-status {
  min-height: 1.215rem;
  margin: .72rem 0 0;
  color: #bbaecb;
  text-align: center;
  font-size: .684rem;
}

.share-status { margin-top: .09rem; color: #a5f3fc; }

.social-button:focus-visible,
.share-image-button:focus-visible,
.launch-panel-heading a:focus-visible,
.contact-actions a:focus-visible,
.copy-link:focus-visible,
.flip-control:focus-visible,
.card-footer-line > a:focus-visible,
.qr-link:focus-visible {
  outline: 2.7px solid #e9d5ff;
  outline-offset: 2.7px;
}

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

@media (max-width: 680px) {
  .card-page { place-items: start center; padding: .63rem; }
  .flip-card, .flip-card-inner { min-height: 792px; }
  .card-face { border-radius: 21.6px; padding: 1.125rem; }
  .card-topline { align-items: flex-start; }
  .availability { max-width: 112.5px; text-align: right; }
  .card-brand-lockup { align-items: flex-start; }
  .card-logo-wrap { width: 75.6px; height: 75.6px; border-radius: 19.8px; }
  .card-logo-wrap img { width: 61.2px; height: 61.2px; }
  .card-brand-copy strong { font-size: clamp(2.115rem, 11.7vw, 3.15rem); }
  .proof-row { grid-template-columns: 1fr; gap: .405rem; }
  .proof-row span { display: flex; gap: .36rem; }
  .proof-row strong { display: inline; }
  .social-row { align-items: stretch; }
  .social-label { width: 100%; }
  .social-button { flex: 1 1 121.5px; }
  .back-social-row { margin-top: .45rem; gap: .315rem; }
  .back-social-row .social-label { font-size: .585rem; }
  .back-social-row .social-button {
    min-height: 36px;
    flex: 1 1 79.2px;
    padding: .45rem .495rem;
    font-size: .585rem;
  }
  .launch-panel { padding: .81rem; }
  .launch-panel-heading { align-items: flex-start; }
  .launch-panel-heading > span { max-width: 58%; }
  .launch-track { margin-top: .72rem; }
  .share-image-button { margin-top: .765rem; }
  .card-back-header { margin-bottom: .585rem; }
  .card-back-grid {
    grid-template-columns: 1fr;
    gap: .585rem;
    align-items: start;
  }
  .card-person-line { margin-bottom: .342rem; font-size: .684rem; }
  .card-back-copy > p { margin-bottom: .495rem; font-size: .738rem; line-height: 1.4; }
  .card-back-copy ul { gap: .225rem; margin-bottom: .585rem; font-size: .675rem; }
  .contact-actions { gap: .315rem; }
  .contact-actions a { min-height: 36px; padding: .45rem .675rem; }
  .qr-panel { width: min(135px, 48%); margin-inline: auto; }
  .qr-link { padding: .405rem; border-radius: 16.2px; }
  .qr-panel > strong { margin: .315rem 0; }
  .copy-link { min-height: 36px; }
}

@media (max-width: 430px) {
  .flip-card, .flip-card-inner { min-height: 819px; }
  .card-brand-lockup { gap: .72rem; }
  .card-logo-wrap { width: 64.8px; height: 64.8px; }
  .card-logo-wrap img { width: 52.2px; height: 52.2px; }
  .service-chips span { flex: 1 1 112.5px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .flip-card-inner { transition: none; }
  .card-face::before { animation: none; }
}
