/* Splash screen for PWA */
@media (display-mode: standalone) {
  body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    /* Fallback background for iOS 16 */
    background: linear-gradient(to bottom right, #000000, #1a0f39) !important;
    background: var(--bg-gradient, linear-gradient(to bottom right, #000000, #1a0f39)) !important;
    z-index: 999999;
    animation: fadeOut 0.5s ease-out 2s forwards;
  }
  
  /* Add logo as a separate pseudo-element */
  body::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background-image: url('/ono-logo-cream.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1000000;
    animation: fadeOut 0.5s ease-out 2s forwards;
  }
  
  /* Hide all content behind splash screen */
  body > * {
    opacity: 0;
    animation: showContent 0.5s ease-out 2s forwards;
  }
  
  @keyframes fadeOut {
    to {
      opacity: 0;
      visibility: hidden;
    }
  }
  
  @keyframes showContent {
    to {
      opacity: 1;
    }
  }
} 