/* css/global.css
   Styles globaux partagés par toute l'application.
   Les styles spécifiques à une page (auth, mise en relation, appel...)
   vivent dans leurs propres fichiers (voir css/auth.css, css/match.css). */

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text-primary);
  overflow-x: hidden;
}

#app {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================
   Éléments partagés du logo "meet me" (bulles animées, texte en
   dégradé) — réutilisés par l'écran de login (css/auth.css) et l'écran
   d'erreur de configuration.
   ========================================================== */

.bubble {
  position: absolute;
  border-radius: var(--radius-full);
  opacity: 0.18;
  filter: blur(2px);
}

.bubble-a {
  width: 90px;
  height: 90px;
  background: var(--color-primary);
  top: -30px;
  left: -60px;
  animation: float-a 4s ease-in-out infinite;
}

.bubble-b {
  width: 60px;
  height: 60px;
  background: var(--color-accent);
  bottom: -20px;
  right: -50px;
  animation: float-b 5s ease-in-out infinite;
}

.logo-text {
  position: relative;
  font-size: var(--fs-3xl);
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.03em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-text span {
  font-weight: var(--fw-regular);
  opacity: 0.9;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-a {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

@keyframes float-b {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
