
    html, body {
      margin: 0;
      padding: 0;
      height: 100%;
      width: 100%;
      overflow: hidden;
    }

    body {
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: #000;
    }

    /* Fondo con opacidad y rotación corregida */
    body::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100vh; /* NOTA: invertimos para rotación */
      height: 100vw;
      background: url('fondo1.png') no-repeat center center;
      background-size: cover;
      opacity: 0.6;
      transform: rotate(90deg) translateY(-100%);
      transform-origin: top left;
      z-index: 0;
    }

    img {
      max-width: 90%;
      max-height: 90%;
      object-fit: contain;
      display: block;

      border: 4px solid rgba(255, 255, 255, 0.8);
      border-radius: 20px;
      box-shadow: 0 20px 30px rgba(0, 0, 0, 0.4);

      animation: elevar 3s ease-in-out infinite;
      transition: transform 0.3s ease, box-shadow 0.3s ease;

      position: relative;
      z-index: 1;
    }

    @keyframes elevar {
      0%   { transform: translateY(0); }
      50%  { transform: translateY(-10px); }
      100% { transform: translateY(0); }
    }
