/* Anti-bot Modal - Apple iOS/macOS Style */

.anti-bot-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms cubic-bezier(0.25, 0.1, 0.25, 1);
}

.anti-bot-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.anti-bot-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.anti-bot-dialog {
  position: relative;
  background: rgba(28, 28, 30, 0.92);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-radius: 20px;
  padding: 40px 32px 32px;
  max-width: 400px;
  width: 90%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform: translateY(16px) scale(0.97);
  opacity: 0;
  transition:
    opacity 250ms cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 250ms cubic-bezier(0.25, 0.1, 0.25, 1);
}

.anti-bot-modal.is-open .anti-bot-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.anti-bot-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.anti-bot-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.anti-bot-title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #f5f5f7;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.anti-bot-text {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  font-size: 14px;
  color: #a1a1a6;
  margin: 0 0 24px;
  line-height: 1.5;
}

.anti-bot-text strong {
  color: #f5f5f7;
  font-weight: 500;
}

.anti-bot-wallet-btn {
  width: 100%;
  justify-content: center;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  background: #0a84ff;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 150ms cubic-bezier(0.25, 0.1, 0.25, 1);
  box-shadow: 0 4px 14px rgba(10, 132, 255, 0.35);
}

.anti-bot-wallet-btn:hover {
  background: #409cff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(10, 132, 255, 0.45);
}

.anti-bot-wallet-btn:active {
  transform: translateY(0);
  background: #0077ed;
}

/* Close button (optional) */
.anti-bot-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a1a1a6;
  transition: all 150ms cubic-bezier(0.25, 0.1, 0.25, 1);
}

.anti-bot-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #f5f5f7;
}

/* Responsive */
@media (max-width: 640px) {
  .anti-bot-dialog {
    max-width: 340px;
    width: 92%;
    padding: 32px 24px 24px;
    border-radius: 16px;
  }

  .anti-bot-logo {
    width: 64px;
    height: 64px;
    border-radius: 14px;
  }

  .anti-bot-title {
    font-size: 18px;
  }

  .anti-bot-text {
    font-size: 13px;
  }

  .anti-bot-wallet-btn {
    padding: 12px 20px;
    font-size: 14px;
  }
}

@media (min-width: 768px) {
  .anti-bot-dialog {
    max-width: 440px;
    padding: 48px 40px 36px;
  }

  .anti-bot-logo {
    width: 80px;
    height: 80px;
  }

  .anti-bot-title {
    font-size: 22px;
  }

  .anti-bot-text {
    font-size: 15px;
  }
}

@media (min-width: 1024px) {
  .anti-bot-logo {
    width: 88px;
    height: 88px;
    border-radius: 18px;
  }

  .anti-bot-wallet-btn {
    font-size: 16px;
    padding: 15px 28px;
  }
}
