body {
  margin: 0;
  background: #0e0e12;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
}

.container {
  text-align: center;
  opacity: 1;
  transition: opacity 0.3s ease;
  position: relative;
  z-index: 1;
}

.avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: visible;
  margin: 0 auto 25px;
  position: relative;
  box-shadow: 0 0 25px rgba(255,255,255,0.08);
  opacity: 0;
  animation: fadeIn 0.4s ease forwards;
}

.avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  filter: brightness(0.9) contrast(1.05);
}

.online-dot {
  width: 14px;
  height: 14px;
  background: #00ff6a;
  border-radius: 50%;
  position: absolute;
  bottom: 8px;
  right: 8px;
  border: 2px solid #0e0e12;
  animation: pulse 1.5s infinite;
}

.text {
  font-size: 18px;
  letter-spacing: 0.5px;
  min-height: 24px;
}

.dots::after {
  content: '...';
  animation: blink 1.2s infinite;
}

.tap-gate {
  position: fixed;
  inset: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(14, 14, 18, 0.02);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.tap-gate.active {
  opacity: 1;
  pointer-events: auto;
}

.tap-gate.loading {
  pointer-events: none;
  cursor: default;
}

.tap-hint {
  font-size: 17px;
  letter-spacing: 0.4px;
  color: rgba(255, 255, 255, 0.88);
  opacity: 0.9;
  text-align: center;
  animation: tapGlow 1.8s ease-in-out infinite;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.tap-gate.loading .tap-hint {
  animation: none;
  opacity: 0.82;
}

@keyframes blink {
  0% { opacity: 0.2; }
  50% { opacity: 1; }
  100% { opacity: 0.2; }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,255,106,0.6); }
  70% { box-shadow: 0 0 0 8px rgba(0,255,106,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,255,106,0); }
}

@keyframes tapGlow {
  0% { opacity: 0.72; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.015); }
  100% { opacity: 0.72; transform: scale(1); }
}