:root {
  --app-height: 100dvh;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  height: var(--app-height);
  width: 100vw;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior: none;
  touch-action: manipulation;
  /* Hardware acceleration */
  transform: translateZ(0);
}

.font-display {
  font-family: 'Outfit', sans-serif;
}

.text-gradient {
  background: linear-gradient(135deg, #FF512F, #DD2476);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Horizontal Scroll Utility */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Guide Step Styles */
.step-ghost-circle {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.step-active {
  background: linear-gradient(135deg, #FF512F, #DD2476) !important;
  color: white !important;
  border-color: transparent !important;
  box-shadow: 0 0 30px rgba(221, 36, 118, 0.4) !important;
  transform: scale(1.1);
}

/* Animations */
@keyframes shine {
  0% { transform: translateX(-100%); }
  20% { transform: translateX(200%); }
  100% { transform: translateX(200%); }
}

.animate-shine {
  animation: shine 3s infinite ease-in-out;
}

@keyframes shake {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
  40%, 60% { transform: translate3d(4px, 0, 0); }
}

.animate-shake {
  animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes spin-reverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

.animate-spin-reverse {
    animation: spin-reverse 2s linear infinite;
}

@keyframes pulse-slow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

.animate-pulse-slow {
  animation: pulse-slow 3s infinite ease-in-out;
}

/* Lens Flare Effect */
.lens-flare {
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none;
}

/* Scrollbar styling for Landing View */
#landing-view::-webkit-scrollbar {
  width: 8px;
}
#landing-view::-webkit-scrollbar-track {
  background: #090A0F;
}
#landing-view::-webkit-scrollbar-thumb {
  background: #2D3748;
  border-radius: 4px;
}
#landing-view::-webkit-scrollbar-thumb:hover {
  background: #4A5568;
}

/* H5 Iframe Full Screen Specifics */
#chat-view {
  height: 100dvh;
  width: 100%;
}

#chat-iframe {
  width: 100% !important;
  height: 100% !important;
  display: block;
  border: none;
  background-color: #000;
}

/* Custom summary marker removal */
summary::-webkit-details-marker {
  display: none;
}

@media (max-width: 400px) {
  .xs\:inline {
    display: inline;
  }
}
.xs\:inline {
  display: none;
}

/* Fix for mobile address bar */
.real-vh {
  height: 100vh;
  height: 100dvh;
}