@font-face {
  font-family: Bricolage Grotesque;
  src: url("../fonts/BricolageGrotesque-Regular.ttf");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Bricolage Grotesque", sans-serif;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

body {
  background: #000;
  color: #fff;
  font-family: "Bricolage Grotesque", sans-serif;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
  overflow: hidden;
}

.logo-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: -50px;
}

.logo {
  width: 140px;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo img {
  width: 100%;
  height: 100%;
}

.permissions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  position: relative;
  width: 100%;
  max-width: 280px;
}

.permission-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.permission-icon {
  width: 38px;
  height: 38px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  transition: all 0.4s ease;
  box-shadow: 0 0 0 rgba(255, 255, 255, 0.4);
}

.permission-icon img {
  width: 22px;
  height: 22px;
  filter: brightness(0);
}

.permission-item.requesting .permission-icon {
  background: #fff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
  transform: scale(1.1);
}

.permission-item.active .permission-icon {
  background: #fff;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.8);
  transform: scale(1.15);
}

.permission-item.completed .permission-icon {
  background: #fff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
  transform: scale(1);
}

.connection-line {
  position: absolute;
  top: 50%;
  left: 22px;
  right: 22px;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 1;
  transform: translateY(-50%);
}

.progress-line {
  position: absolute;
  top: 50%;
  left: 22px;
  height: 3px;
  background: #fff;
  z-index: 2;
  transform: translateY(-50%);
  width: 0%;
  transition: width 0.6s ease;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.footer {
  position: absolute;
  bottom: 30px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9em;
  line-height: 1.4;
}

/* Pulse animation for requesting state */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.pulse {
  animation: pulse 1.5s infinite;
}

/* Active glow animation */
@keyframes glow {
  0% {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
  }
  50% {
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.9);
  }
  100% {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
  }
}

.glow {
  animation: glow 1s ease-in-out infinite;
}
