
/* Enhanced CSS file for Heavenly Celestial Demo font with mobile optimization */
@font-face {
  font-family: 'Heavenly Celestial Demo';
  src: url('/fonts/Heavenly-Celestial-Demo.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  text-rendering: optimizeLegibility;
}

/* Global fix for the font-heavenly class */
.font-heavenly {
  font-family: 'Heavenly Celestial Demo', 'Playfair Display', serif !important;
  visibility: visible !important;
  opacity: 1 !important;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Override cursors for entire site */
* {
  cursor: url('/lovable-uploads/59f66902-502b-4f9f-b94b-4f2eaf8d1820.png') 12 12, auto !important;
}

/* Custom cursor for clickable elements */
button,
a,
input[type="submit"],
input[type="button"],
.btn,
[role="button"] {
  cursor: url('/lovable-uploads/59f66902-502b-4f9f-b94b-4f2eaf8d1820.png') 12 12, pointer !important;
}

/* Mobile-specific fixes */
@media screen and (max-width: 767px) {
  .font-heavenly {
    /* Enhanced font rendering for mobile */
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 0.01em;
  }
  
  h1.font-heavenly,
  h2.font-heavenly,
  h3.font-heavenly,
  .text-heavenly {
    /* Force font to be visible */
    font-family: 'Heavenly Celestial Demo', 'Playfair Display', serif !important;
  }
}
