/* Basic site-wide styles and Tailwind tweaks */
html, body, #root {
  height: 100%;
}

/* Ensure smooth font rendering */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Mobile-optimized improvements */
@media (max-width: 640px) {
  /* Improve touch targets */
  button,
  a[role="button"],
  input[type="button"],
  input[type="submit"] {
    min-height: 44px;
    min-width: 44px;
  }

  /* Prevent zoom on focus for iOS */
  input,
  select,
  textarea {
    font-size: 16px;
  }

  /* Better scrolling on mobile */
  html {
    -webkit-overflow-scrolling: touch;
  }

  /* Reduce animation on mobile for better performance */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Sharper borders on high DPI displays */
  .border-2 {
    border-width: 1px;
  }
}

/* Utility example for ads container spacing fallback */
.ad-container {
  margin: 16px 0;
}


