@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@500;600;700&family=Plus+Jakarta+Sans:wght@700;800&display=swap');

:root {
  --ease-elastic: cubic-bezier(0.2, 0.8, 0.2, 1);
  --color-synk-bg: #090d16;
  --color-synk-card: #131b2e;
  --color-synk-match: #10b981;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--color-synk-bg);
  background-image: 
    radial-gradient(at 0% 0%, rgba(16, 185, 129, 0.08) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(59, 130, 246, 0.05) 0px, transparent 50%);
  background-attachment: fixed;
  color: #f8fafc;
}

/* Scrollbar discrète */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 9999px;
}

/* Liquid Glass */
.liquid-glass {
  background: linear-gradient(
    135deg, 
    rgba(255, 255, 255, 0.08) 0%, 
    rgba(19, 27, 46, 0.5) 40%, 
    rgba(9, 13, 22, 0.75) 100%
  ) !important;
  backdrop-filter: blur(28px) saturate(210%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(210%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 
    0 16px 36px -10px rgba(0, 0, 0, 0.6),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -1px 1px 0 rgba(0, 0, 0, 0.4);
}

.liquid-card {
  background: linear-gradient(160deg, rgba(30, 41, 59, 0.4) 0%, rgba(19, 27, 46, 0.7) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.45), inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.25s var(--ease-elastic), border-color 0.25s ease;
}

.liquid-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.match-glow {
  position: relative;
  border: 1px solid rgba(16, 185, 129, 0.45) !important;
  box-shadow: 0 0 35px -6px rgba(16, 185, 129, 0.3), inset 0 1px 1px 0 rgba(16, 185, 129, 0.4);
}

.android-dock {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: calc(100% - 32px);
  max-width: 420px;
}

/* Timeline */
.timeline-track {
  height: 8px;
  border-radius: 9999px;
  background-color: #1e293b;
  position: relative;
  overflow: hidden;
  display: flex;
}

.timeline-segment {
  height: 100%;
  transition: width 0.3s ease;
}

/* Splash Screen Animations */
#splashScreen {
  transition: opacity 0.6s var(--ease-elastic), visibility 0.6s ease;
}

@keyframes logoReveal {
  0% { transform: scale(0.85); opacity: 0; }
  50% { transform: scale(1.02); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

.splash-logo {
  animation: logoReveal 1s var(--ease-elastic) forwards;
}

@keyframes fluidGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

.glow-point {
  animation: fluidGlow 2.2s infinite var(--ease-elastic);
}

/* Wizard Steps transitions */
.wizard-step {
  display: none;
  animation: fadeInStep 0.3s var(--ease-elastic) forwards;
}

.wizard-step.active {
  display: block;
}

@keyframes fadeInStep {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}