<!doctype html>
<html lang="es-ES">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=yes" />
    <meta name="theme-color" content="#2563eb" />
    
    <!-- Preconnect to critical origins (before any other resource hints) -->
    <link rel="preconnect" href="https://api-jk.funnyu.xyz" crossorigin />
    <link rel="preconnect" href="https://image.tmdb.org" crossorigin />
    <link rel="dns-prefetch" href="https://www.googletagmanager.com" />

    <!-- Favicon -->
    <link rel="icon" type="image/svg+xml" href="/jkanime-icon.svg" />
    
    <!-- PWA -->
    <link rel="manifest" href="/manifest.json" />
    <meta name="mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
    <meta name="apple-mobile-web-app-title" content="JKAnime FLV" />
    <link rel="apple-touch-icon" href="/icons/icon-192x192.png" />
    
    <!-- SEO -->
    <title>JKAnime FLV - Ver Anime Online Gratis en Español | JKAnimeFlv</title>
    <meta name="description" content="JKAnime FLV - Ver anime online gratis en HD con subtítulos en español. La mejor plataforma en español para disfrutar series y películas anime. Alternativa a AnimeFlv." />
    <meta name="keywords" content="jkanime, jkanimeflv, animeflv, anime online español, ver anime gratis español, anime subtitulado español, anime latino" />
    <meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1" />
    <link rel="canonical" href="https://jkanimeflv.com/" />
    
    <!-- Open Graph -->
    <meta property="og:type" content="website" />
    <meta property="og:title" content="JKAnime FLV - Ver Anime Online Gratis en Español" />
    <meta property="og:description" content="La mejor plataforma en español para ver anime online gratis en HD con subtítulos en español." />
    <meta property="og:site_name" content="JKAnime FLV" />
    <meta property="og:url" content="https://jkanimeflv.com/" />
    <meta property="og:image" content="https://jkanimeflv.com/icons/icon-512x512.png" />
    <meta property="og:locale" content="es_ES" />
    
    <!-- Twitter -->
    <meta name="twitter:card" content="summary_large_image" />
    <meta name="twitter:title" content="JKAnime FLV - Ver Anime Online Gratis en Español" />
    <meta name="twitter:description" content="La mejor plataforma en español para ver anime online gratis en HD con subtítulos en español" />
    <meta name="twitter:image" content="https://jkanimeflv.com/icons/icon-512x512.png" />
    
    <!-- Critical CSS - inlined to eliminate render-blocking request -->
    <style>
      html { scroll-behavior: smooth; overscroll-behavior: none; }
      body { 
        margin: 0; 
        background-color: #111827; 
        color: white; 
        font-family: system-ui, -apple-system, sans-serif;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
      }
      #root { min-height: 100vh; }
      .loading-spinner {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
      }
      .spinner {
        width: 40px;
        height: 40px;
        border: 4px solid #374151;
        border-top-color: #2563eb;
        border-radius: 50%;
        animation: spin .8s linear infinite;
      }
      @keyframes spin { to { transform: rotate(360deg); } }
    </style>
    
    <!-- Structured Data -->
    <script type="application/ld+json">
    {
      "@context": "https://schema.org",
      "@type": "WebSite",
      "name": "JKAnime FLV",
      "alternateName": "JKAnimeFlv",
      "url": "https://jkanimeflv.com",
      "description": "La mejor plataforma en español para ver anime online gratis en HD con subtítulos en español",
      "inLanguage": "es-ES",
      "potentialAction": {
        "@type": "SearchAction",
        "target": "https://jkanimeflv.com/buscar?q={search_term_string}",
        "query-input": "required name=search_term_string"
      }
    }
    </script>
    <script type="module" crossorigin src="/assets/js/index-C3ITpfPC.js"></script>
    <link rel="modulepreload" crossorigin href="/assets/js/vendor-react-De6iX4Fp.js">
    <link rel="modulepreload" crossorigin href="/assets/js/vendor-router-CI5ObfUT.js">
    <link rel="modulepreload" crossorigin href="/assets/js/vendor-ui-Df5xeLMm.js">
    <link rel="stylesheet" crossorigin href="/assets/css/index-sATvYwal.css">
  </head>
  <body>
    <div id="root">
      <div class="loading-spinner" aria-label="Cargando">
        <div class="spinner"></div>
      </div>
    </div>
    

    <!-- Google Analytics - loaded after main content (non-blocking) -->
    <script>
      // Defer analytics until after page is interactive
      window.addEventListener('load', function() {
        var s = document.createElement('script');
        s.src = 'https://www.googletagmanager.com/gtag/js?id=G-HQJSYW0VHZ';
        s.async = true;
        document.head.appendChild(s);
        s.onload = function() {
          window.dataLayer = window.dataLayer || [];
          function gtag(){dataLayer.push(arguments);}
          window.gtag = gtag;
          gtag('js', new Date());
          gtag('config', 'G-HQJSYW0VHZ', { send_page_view: false });
        };
      });
    </script>
  </body>
</html>
