/*
  Le petit site des liens VertexMusic : la DA de l'app (violet et magenta,
  verre Aero), l'écran Swing de la maquette en carte. Aucune police ni image
  chargée d'ailleurs : tout est ici.
*/
:root {
  --accent: #C850E0;
  --fond-haut: #181026;
  --fond-bas: #0d0914;
  --texte: #f4effb;
}

* { box-sizing: border-box; }

html { background: var(--fond-bas); }

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--fond-haut), #100b1a 55%, var(--fond-bas));
  color: var(--texte);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

.page {
  max-width: 440px;
  margin: 0 auto;
  padding: calc(18px + env(safe-area-inset-top)) 18px calc(36px + env(safe-area-inset-bottom));
}

/* Le logotype de l'en-tête de l'app : l'orbe, « Vertex » et « Music », chacun dans son dégradé. */
.marque { display: flex; align-items: center; gap: 8px; }
.mot { font-size: 19px; letter-spacing: -0.3px; }
.vertex, .music { -webkit-background-clip: text; background-clip: text; color: transparent; }
.vertex { font-weight: 600; background-image: linear-gradient(180deg, #EE99FF, #C040E8 55%, #8A18C8); }
.music { font-weight: 300; background-image: linear-gradient(180deg, #C77BEA, #9A2CC8); }

.carte {
  position: relative;
  overflow: hidden;
  margin-top: 18px;
  padding: 26px 20px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(200, 80, 224, .35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 18px 40px rgba(0, 0, 0, .45);
}

/* Les deux lumières de la maquette : l'accent, et la couleur de qui propose le Swing. */
.halo { position: absolute; width: 70%; height: 50%; filter: blur(80px); pointer-events: none; }
.halo-gauche { left: -20%; top: -10%; background: var(--accent); opacity: .35; }
.halo-droit { right: -20%; top: 0; background: rgba(255, 255, 255, .18); opacity: .3; }

.titre { position: relative; margin: 0; text-align: center; font-size: 30px; line-height: 1.05; font-weight: 700; letter-spacing: -0.6px; }
.invite { position: relative; margin: 6px 0 0; text-align: center; font-size: 14px; line-height: 1.35; color: rgba(255, 255, 255, .75); }

.portraits { position: relative; margin-top: 18px; display: flex; justify-content: center; align-items: center; }
.rond {
  width: 96px; height: 96px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 34px; font-weight: 600; color: #fff;
  border: 3px solid rgba(255, 255, 255, .3);
}
.rond-vous { background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .5), transparent 45%), var(--accent); transform: translateX(6px); }
.rond-lui { margin-left: -24px; transform: translateX(-6px); background: rgba(255, 255, 255, .18); }

.etiquette { position: relative; margin: 20px 0 8px; font-size: 11px; font-weight: 400; letter-spacing: .08em; color: rgba(255, 255, 255, .55); }
.puces { position: relative; margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.puces li {
  padding: 6px 10px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .06); font-size: 12.5px; max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.texte { position: relative; margin: 0; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .8); }
.titres { position: relative; margin: 0; padding: 0; list-style: none; }
.titres li { font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, .85); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.discret { color: rgba(255, 255, 255, .5); }

.ouvrir {
  position: relative; display: block; margin-top: 24px; height: 52px; line-height: 52px; border-radius: 26px;
  background: #fff; color: #181026; text-align: center; text-decoration: none; font-size: 16px; font-weight: 600;
  -webkit-tap-highlight-color: transparent; transition: transform .1s;
}
.ouvrir:active { transform: scale(.96); }
.aide { position: relative; margin: 10px 0 0; text-align: center; font-size: 12px; line-height: 1.45; color: rgba(255, 255, 255, .55); }

.vide .texte { margin-top: 12px; text-align: center; }

.note { margin: 18px 6px 0; text-align: center; font-size: 11.5px; line-height: 1.5; color: rgba(255, 255, 255, .45); }
.note code { font-family: inherit; color: rgba(255, 255, 255, .7); }

@media (prefers-reduced-motion: reduce) { * { transition-duration: 1ms !important; } }
